-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
70 lines (70 loc) · 1.81 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
70
[user]
name = huoguangjin
email = [email protected]
[core]
precomposeUnicode = true
autocrlf = input
quotePath = false
safecrlf = warn
eol = lf
pager = delta
[init]
defaultBranch = main
[submodule]
recurse = true
[i18n]
commitEncoding = utf-8
logOutputEncoding = utf-8
[url "[email protected]:"]
insteadOf = http://github.com/
insteadOf = https://github.com/
[push]
default = current
[alias]
cl = clean -xdf
d = difftool
ll = log --graph --format=format:'%C(yellow)%h%C(reset)%C(auto)%d%C(reset) %C(bold cyan)%ad%C(reset) %C(magenta)%an%C(reset) %C(white)%s%C(reset)'
sm = submodule update --init --recursive
ud = rebase --committer-date-is-author-date -i
[log]
date = format-local:%y/%m/%d %H:%M %a
[format]
pretty = format:%C(yellow)%h%C(reset)%C(auto)%d%C(reset) %C(bold cyan)%ad%C(reset) %C(bold blue)(%ar)%C(reset) %C(magenta)%an%C(reset)%n%C(white)%s%C(reset)
[merge]
tool = smerge
conflictStyle = diff3
[diff]
tool = vimdiff
colorMoved = default
[difftool]
prompt = false
trustExitCode = true
[diff "lfs"]
textconv = cat
[pull]
ff = only
rebase = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true
file-style = 232 bold 184
line-numbers-left-format = "│{nm:>1}│"
line-numbers-right-format = "│{np:>1}│"
line-numbers-left-style = gray
line-numbers-right-style = gray
line-numbers-minus-style = red black
line-numbers-plus-style = green black
line-numbers-zero-style = "#545474"
commit-decoration-style = bold box ul
file-decoration-style = gray overline
hunk-header-decoration-style = gray box ul
hunk-header-file-style = bold yellow
hunk-header-line-number-style = bold yellow
hunk-header-style = file line-number syntax