-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
55 lines (55 loc) · 1018 Bytes
/
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
[user]
name = Yiyao Wei
email = {{ .email }}
signingkey = {{ .gpg_signingkey }}
[github]
user = {{ .chezmoi.username }}
[core]
autocrlf = input
editor = lvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
precomposeUnicode = true
[credential]
helper = osxkeychain
[color]
ui = auto
branch = auto
[init]
defaultBranch = main
[branch]
autosetuprebase = local
[commit]
gpgsign = true
[fetch]
prune = true
[push]
default = simple
[pull]
twohead = ort
[diff]
colorMoved = default
[rerere]
enabled = 1
autoupdate = 1
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
features = line-numbers decorations
line-numbers = true
navigate = true
syntax-theme = base16-256 # bat theme
[interactive]
diffFilter = delta --color-only
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[submodule]
recurse = true