-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
44 lines (44 loc) · 932 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
[user]
name = Nate Belisle
email = {{ .email }}
{{- if .work }}
{{- end }}
[url "[email protected]:"]
insteadOf = https://github.com/
{{- if .work }}
[commit]
gpgsign = true
[gpg]
format = ssh
{{- end }}
[core]
hooksPath = {{ .chezmoi.homeDir }}/.git_hooks
excludesfile = {{ .chezmoi.homeDir }}/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
filemode = false
editor = vim
[remote "origin"]
prune = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false
[pager]
branch = false
[diff]
tool = bcomp
[difftool]
prompt = false
[difftool "bcomp"]
trustExitCode = true
cmd = "/usr/local/bin/bcomp" \"$LOCAL\" \"$REMOTE\"
[merge]
tool = bcomp
[mergetool]
prompt = false
[mergetool "bcomp"]
trustExitCode = true
cmd = "/usr/local/bin/bcomp" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"