git: add more useful defaults

This commit is contained in:
teutat3s 2025-03-05 08:58:03 +01:00
parent 78e10002a0
commit 78781b3b38
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -36,6 +36,25 @@ in
conflictstyle = diff3
[diff]
colorMoved = default
algorithm = histogram
mnemonicPrefix = true
renames = true
[init]
defaultBranch = main
[tag]
sort = version:refname
[branch]
sort = -committerdate
[column]
ui = auto
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
[includeIf "gitdir:~/CodeRoom/greenbaum.cloud/"]
path = ~/.config/git/config_greenbaum.cloud