dotfiles/git/.gitconfig

59 lines
966 B
INI

[user]
email = mans@mziesel.com
name = Mans Ziesel
signingkey = ~/.ssh/id_rsa.pub
[url "git@git.mziesel.nl:"]
insteadOf = https://git.mzsl.nl/
[url "git@git.mziesel.nl:"]
insteadOf = https://git.mziesel.nl/
[url "git@git.mziesel.nl:"]
insteadOf = git@git.mzsl.nl:
[gpg]
format = ssh
[init]
defaultBranch = main
[pull]
default = current
[push]
default = current
[color]
ui = auto
# https://blog.gitbutler.com/how-git-core-devs-configure-git/
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[init]
defaultBranch = main
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
# why the hell not?
[help]
autocorrect = prompt
[commit]
verbose = true
[rerere]
enabled = true
autoupdate = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true