-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
55 lines (40 loc) · 912 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[core]
excludesfile = ~/.gitignore_global
quotepath = false
[init]
templatedir = ~/.git.template.d
[color]
ui = auto
[pull]
rebase = false
ff = only
[grep]
lineNumber = true
[diff]
renames = true
renameLimit = 0
[alias]
rpo = remote prune origin
st = status
ss = status -s
ba = branch -a
bm = branch --merged
br = branch -r
co = checkout
cb = checkout -b
di = diff
dm = diff master
dw = diff --word-diff
dc = diff --cached
d1 = diff HEAD~
d2 = diff HEAD~~
d3 = diff HEAD~~~
ls = log --stat
lp = log -p
hist = log --graph --date=iso8601 --pretty='format:%C(yellow)%h%C(reset) %C(magenta)[%ad]%C(reset)%C(auto)%d%C(reset) %s %C(green)<%an>%C(reset)'
mergeable = !git format-patch --stdout $(git rev-parse --abbrev-ref HEAD)..$(git rev-parse --abbrev-ref ${1}) | git apply --check && echo ok
[ghq]
root = ~/go/src
root = ~/repos/src
[include]
path = ~/.gitconfig_local