config.tmpl

  1[init]
  2	defaultBranch = main
  3[alias]
  4	l = log
  5	wt = worktree
  6	br = branch
  7	fp = push --force-with-lease
  8	patch = push rad HEAD:refs/patches
  9	ci = commit
 10	co = checkout
 11	rb = rebase
 12	rp = request-pull
 13	ps = push
 14	pl = pull
 15	us = 'reset HEAD --'
 16	ui = !gitui
 17	m = !meteor
 18	me = merge
 19	s = show
 20	st = status
 21	sg = stage
 22	d = diff
 23	dl = -c diff.external=difft log -p --ext-diff
 24	ds = -c diff.external=difft show --ext-diff
 25	df = -c diff.external=difft diff
 26	bugs = bug bug
 27	bugs-create = bug bug new
 28	bugs-push = !fish -c 'git-bug-push'
 29	bugs-pull = !fish -c 'git-bug-pull'
 30[user]
 31	name = Amolith
 32	email = amolith@secluded.site
 33	{{- if eq .chezmoi.hostname "angmar" }}
 34	signingkey = ~/.ssh/yk-stationary.pub
 35	{{- else }}
 36	signingkey = ~/.ssh/yk-mobile.pub
 37	{{- end }}
 38[commit]
 39	gpgsign = true
 40	verbose = true
 41[tag]
 42	gpgsign = true
 43	sort = version:refname
 44[gpg]
 45	format = ssh
 46[gpg "ssh"]
 47	allowedSignersFile = /home/amolith/.ssh/allowed_signers
 48[sendemail]
 49	smtpserver = smtp.nixnet.email
 50	smtpuser = amolith@secluded.site
 51	smtpencryption = tls
 52	smtpserverport = 587
 53	annotate = yes
 54[credential "smtp://smtp.nixnet.email:587"]
 55	helper = 1password
 56[core]
 57	pager = delta
 58	fsmonitor = true
 59	untrackedCache = true
 60	excludesFile = ~/.config/git/ignore
 61	editor = vim
 62[delta]
 63	line-numbers = true
 64	{{- if eq .theme_variant "dark" }}
 65	syntax-theme = ansi
 66	{{- end }}
 67	{{- if eq .theme_variant "light" }}
 68	syntax-theme = OneHalfLight
 69	{{- end }}
 70[interactive]
 71	diffFilter = delta --color-only
 72[pull]
 73	rebase = true
 74[push]
 75	followTags = false
 76	autoSetupRemote = true
 77	default = current
 78[branch]
 79	autoSetupMerge = always
 80	sort = -committerdate
 81[filter "lfs"]
 82	clean = git-lfs clean -- %f
 83	smudge = git-lfs smudge -- %f
 84	process = git-lfs filter-process
 85	required = true
 86[rerere]
 87	enabled = true
 88	autoupdate = true
 89[help]
 90	autocorrect = prompt
 91[column]
 92	ui = auto
 93[diff]
 94	algorithm = histogram
 95	renames = true
 96[rebase]
 97	updateRefs = true
 98	autoStash = true
 99[merge]
100	conflictstyle = zdiff3
101	tool = vimdiff
102[color]
103	ui = true
104[fetch]
105	auto = true