git: improve config

This commit is contained in:
Guillaume Dott 2025-03-25 09:34:06 +01:00
parent ae2bf38891
commit 97ebdfa5f4

View File

@ -29,12 +29,14 @@
[credential]
helper = cache
[help]
autocorrect = -1
autocorrect = prompt
[rerere]
enabled = true
autoupdate = true
[rebase]
autosquash = true
autostassh = true
autoSquash = true
autoStash = true
updateRefs = true
# vim: set filetype=gitconfig:
[pull]
rebase = true
@ -42,3 +44,13 @@
defaultBranch = main
[diff "ansible-vault"]
textconv = ansible-vault view
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[fetch]
prune = true
pruneTags = true
all = true