-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
69 lines (67 loc) · 1.63 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[user]
name = dragonkid
email = idragonkid@gmail.com
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[push]
default = simple
[alias]
co = checkout
b = branch
st = status
fe = fetch
re = rebase
d = difftool
lg = log --pretty=format:\"[%h] %ae, %ar: %s\" --stat
[core]
pager = delta
editor = vim
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
sshCommand = /usr/bin/ssh
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
# side-by-side = true
line-numbers = true
[color "status"]
added = green
changed = red
untracked = cyan
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[diff]
#tool = vimdiff
colorMoved = default
[diff "archive"]
textconv = 7z -so l
binary = true
[merge]
tool = vimdiff
conflictstyle = diff3
[difftool]
prompt = false
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
[diff "daff-csv"]
command = daff diff --git --output-format html --output /tmp/diff.html
[merge "daff-csv"]
name = daff tabular csv merge
driver = daff merge --output %A %O %A %B
[pull]
rebase = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@git.servaltech.cn:"]
insteadOf = "https://git.servaltech.cn"