-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
49 lines (49 loc) · 1.06 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
[credential "https://github.com"]
{{- if eq .chezmoi.hostname "DSDU-VincentYim" }}
helper = !{{ lookPath "gh" | trim }} auth git-credential
{{- end }}
[credential "https://gist.github.com"]
{{- if eq .chezmoi.hostname "DSDU-VincentYim" }}
helper = !{{ lookPath "gh" | trim }} auth git-credential
{{- end }}
[init]
defaultBranch = main
[user]
email = [email protected]
name = Vincent Ging Ho Yim
[core]
editor = code --wait
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
side-by-side = true
[diff]
tool = vscode
colorMoved = dimmed-zebra
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
conflictstyle = diff3
[mergetool "vscode"]
cmd = code --wait --merge $MERGED
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[pull]
rebase = true