forked from mbrochh/mbrochh-dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.gitconfig
27 lines (27 loc) · 794 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
[color]
diff = auto
status = auto
branch = auto
grep = auto
interactive = auto
showbranch = auto
ui = auto
[log]
abbrevCommit = true
[merge]
tool = fugitive
conflictstyle = diff3
[rerere]
enabled = true
[core]
editor = vim
[mergetool "fugitive"]
cmd = vim -f -c \"Gdiff\" \"$MERGED\"
[alias]
d = diff --color-words -w
b = branch -v -a
l = log --graph --date-order --format=format:'%C(red)%h%C(reset) - %C(green)(%ar)%C(reset)%C(white) %s%C(reset)%C(bold blue) %an%C(reset)%C(bold yellow)%d%C(reset)'
la = log --all --graph --date-order --format=format:'%C(red)%h%C(reset) - %C(green)(%ar)%C(reset)%C(white) %s%C(reset)%C(bold blue) %an%C(reset)%C(bold yellow)%d%C(reset)'
s = status
ds = diff --stat
co = checkout