-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
64 lines (61 loc) · 1.23 KB
/
dot_gitconfig.tmpl
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
# vim:syntax=gitconfig
[user]
name = Thanh Nguyen
email = {{ .work.email }}
signingkey = C086CD9B4DBCBBC0
[commit]
gpgsign = true
[tag]
gpgsign = true
[core]
excludesfile = {{ .chezmoi.homeDir }}/.gitignore_global
autocrlf = false
pager = delta
[rerere]
enabled = true
[pull]
ff = only
rebase = true
[diff]
colorMoved = default
[diff "gpg"]
textconv = gpg --no-tty --decrypt --quiet
[blame "gpg"]
textconv = gpg --no-tty --decrypt --quiet
[url "git@github.com:"]
insteadOf = https://github.com/
[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
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
inspect-raw-lines = false
line-numbers = true
navigate = true
syntax-theme = "Sublime Snazzy"
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
{{- if eq .chezmoi.os "darwin" }}
[credential]
helper = osxkeychain
{{- end }}