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