-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
47 lines (47 loc) · 1.11 KB
/
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
# This is Git's per-user configuration file.
[user]
name = Max Bo
email = [email protected]
[core]
excludesfile = /Users/mbo/.gitignore_global
editor = nvim
pager = diff-so-fancy | less --tabs=4 -RFX # https://github.com/so-fancy/diff-so-fancy
[merge]
tool = code-mergetool
[diff]
tool = code-difftool
algorithm = histogram
colorMoved = zebra
external = difft
[difftool "code-difftool"]
cmd = code --wait --diff --new-window $LOCAL $REMOTE
[mergetool "code-mergetool"]
cmd = code --wait --new-window $MERGED
[mergetool "nvim-difftool"]
cmd = nvim -d $LOCAL $REMOTE
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[http]
postBuffer = 524288000
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[trace2]
eventTarget = af_unix:dgram:/tmp/olly-git-trace2.sock
[pull]
rebase = false
ff = false