config.tmpl

 1[init]
 2	defaultBranch = main
 3[alias]
 4	force-push = push --force-with-lease
 5[user]
 6	name = Amolith
 7	email = amolith@secluded.site
 8	{{- if eq .chezmoi.hostname "angmar" }}
 9	signingkey = ~/.ssh/yk-stationary.pub
10	{{- else }}
11	signingkey = ~/.ssh/yk-mobile.pub
12	{{- end }}
13[commit]
14	gpgsign = true
15	verbose = true
16[tag]
17	gpgsign = true
18	sort = version:refname
19[gpg]
20	format = ssh
21[gpg "ssh"]
22	allowedSignersFile = /home/amolith/.ssh/allowed_signers
23[sendemail]
24	smtpserver = smtp.nixnet.email
25	smtpuser = amolith@secluded.site
26	smtpencryption = tls
27	smtpserverport = 587
28	annotate = yes
29[credential "smtp://smtp.nixnet.email:587"]
30	helper = !op read "op://Private/git-send-email-amo_sec/password"
31[core]
32	pager = delta
33	fsmonitor = true
34	untrackedCache = true
35	excludesFile = ~/.config/git/ignore
36[delta]
37	line-numbers = true
38	{{- if eq .theme_variant "dark" }}
39	syntax-theme = ansi
40	{{- end }}
41	{{- if eq .theme_variant "light" }}
42	syntax-theme = OneHalfLight
43	{{- end }}
44[interactive]
45	diffFilter = delta --color-only
46[pull]
47	rebase = true
48[push]
49	followTags = true
50	autoSetupRemote = true
51	default = current
52[branch]
53	autoSetupMerge = always
54	sort = -committerdate
55[filter "lfs"]
56	clean = git-lfs clean -- %f
57	smudge = git-lfs smudge -- %f
58	process = git-lfs filter-process
59	required = true
60[rerere]
61	enabled = true
62	autoupdate = true
63[help]
64	autocorrect = prompt
65[column]
66	ui = auto
67[diff]
68	algorithm = histogram
69	renames = true
70[rebase]
71	updateRefs = true
72	autoStash = true
73[merge]
74	conflictstyle = zdiff3