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