-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
106 lines (102 loc) · 2.26 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# vim: ft=git_config
# ln -s `pwd`/gitconfig ~/.gitconfig
[color]
ui = always
diff = always
branch = always
interactive = always
status = always
grep = always
decorate = always
showbranch = always
added = green
changed = red bold
untracked = magenta bold
[user]
name = liyong
email = hungrybirder@gmail.com
signingkey = F54905067B92156A
[push]
default = simple
[diff]
tool = vimdiff
guitool = kdiff3
colorMoved = default
[difftool]
prompt = false
[alias]
fav = fetch --all --verbose
lgd = log --graph --decorate --show-signature
ldg = log --graph --decorate --show-signature
diffstat = diff --stat
st = status
clone = clone --recursive
co = checkout
br = branch
[color "diff"]
meta = yellow
frag = magenta bold
old = red bold
new = green bold
commit = yellow bold
whitespace = red reverse
[github]
user = hungrybirder@gmail.com
[gpg]
program = gpg
[commit]
gpgsign = false
[format]
signoff = true
[sendemail]
from = LIYONG <hungrybirder@gmail.com>
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = hungrybirder@gmail.com
smtpserverport = 587
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[core]
# pager = diff-so-fancy | less --tabs=4 -RFX
quotepath = false
pager = delta
editor = nvim
[merge]
tool = vimdiff
conflictstyle = diff3
[http]
sslVerify = false
[pull]
rebase = true
# MacOS: brew install git-delta
# https://github.com/dandavison/delta
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
syntax-theme = gruvbox-dark
plus-style = syntax "#003800"
minus-style = syntax "#3f0001"
whitespace-error-style = 22 reverse
navigate = true # n: next N:prev
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box ul
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[oh-my-zsh]
hide-status = 1
hide-dirty = 1
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process