-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
86 lines (62 loc) · 1.26 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{{- with (index . "user") -}}
[user]
name = {{ .name | quote }}
email = {{ .email | quote }}{{ with (index . "gpg_key_id") }}
signingkey = {{ . | quote }}
[commit]
gpgsign = true{{ end }}
{{ end -}}
[core]
excludesfile = ~/.local.gitignore
ignorecase = false
[init]
defaultBranch = main
[fetch]
fsckobjects = true
[pull]
ff = only
rebase = true
[push]
default = simple
autoSetupRemote = true
followtags = true
[apply]
whitespace = fix
[merge]
conflictstyle = zdiff3
keepbackup = false
[rerere]
enabled = true
[rebase]
autoStash = true
[diff]
algorithm = histogram
submodule = log
[diff "pdf"]
textconv = pdftostdout
[transfer]
fsckobjects = true
[receive]
fsckObjects = true
[status]
submoduleSummary = true
[submodule]
recurse = true
[log]
date = iso
[format]
pretty = %C(cyan)%G? %Creset%C(auto)%h%Creset %C(auto)%D%Creset %s %C(dim cyan)(%cr)%Creset %C(dim green)%aN <%aE>%Creset
[gpg "ssh"]
allowedSignersFile = {{ .chezmoi.homeDir }}/.ssh/allowed_signers
[url "[email protected]:"]
insteadOf = https://github.com/
insteadOf = git://github.com/
insteadOf = gh:
[help]
autocorrect = 10
[http]
cookiefile = {{ .chezmoi.homeDir }}/.gitcookies
[include]
path = .git.aliases
path = .local.gitconfig
# vi:se ai noet ts=4 sw=4 ft=gitconfig: