feat: add some fancy git magic

This commit is contained in:
Peter 2025-03-04 18:55:50 +01:00
parent 16f97f70d8
commit 8da896dcc4
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -2,21 +2,33 @@
email = {{ .email }}
name = {{ .name }}
signingkey = 1A80DDB584AF7DA7
[core]
autocrlf = input
pager = delta
excludesfile = {{ .chezmoi.homeDir }}/.gitignore
fsmonitor = true
untrackedCache = true
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = -version:refname
[diff]
colorMoved = default
colorMoved = plain
tool = difftastic
algorithm = histogram
mnemonicPrefix = true
renames = true
[pager]
difftool = true
[pull]
rebase = true
[difftool]
prompt = false
@ -38,7 +50,22 @@
rebase = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[merge]
conflictstyle = zdiff3
[interactive]
diffFilter = delta --color-only
@ -50,6 +77,11 @@
[commit]
gpgsign = true
verbose = true
[rerere]
enabled = true
autoupdate = true
[init]
defaultBranch = main
@ -67,3 +99,6 @@
[diff "age"]
textconv = cat
[help]
autocorrect = prompt