-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
38 lines (38 loc) · 916 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
[core]
autocrlf = false
excludesfile = '.gitignore'
pager = delta
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[color "branch"]
current = yellow black
local = yellow
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red reverse
new = green reverse
[color "status"]
added = yellow
changed = green
untracked = cyan reverse
branch = magenta
[alias]
tree = log --graph --all --abbrev-commit --date=relative --pretty=format:"%C(red)%h%C(green)%d\\ %C(cyan)<%an>\\ %C(reset)%s"
tree2 = log --pretty=format:"%C(red)%h%C(yellow)%d\\ %Creset%s\\ %C(cyan)[%cn]" --graph --all --abbrev-commit --date=relative
sdiff = !git difftool --tool=vimdiff# --dir-diff
vmerge = !git mergetool --tool=vimdiff
[diff]
algorithm = histogram
[interactive]
diffFilter = delta --color-only
[merge]
ff = false
conflictstyle = zdiff3
[rebase]
autostash = true