-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
37 lines (33 loc) · 848 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[user]
name = Jamo
email = jamie.weavis@gmail.com
username = jamieweavis
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[alias]
c = commit
co = checkout
cm = commit -m
d = diff
ds = diff --staged
f = fetch
fp = !git fetch && git pull
l = log --graph --date-order --date=short --pretty=format:'%C(auto)%h%d %C(reset)%s %C(dim white)(%an, %ar)%C(reset)'
p = push
pu = push -u
pun = push -u --no-verify
s = status -s
sp = stash pop
su = stash --include-untracked
sfp = !git stash && git fetch && git pull
sufp = !git stash --include-untracked && git fetch && git pull
sfpp = !git stash && git fetch && git pull && git stash pop
undo = reset --soft HEAD~1
b = branch
[color]
ui = true
[push]
default = current
followTags = true