From 97ebdfa5f48f7cde5f2ea6f7d111e1f64b87d528 Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Tue, 25 Mar 2025 09:34:06 +0100 Subject: [PATCH] git: improve config --- git/config | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/git/config b/git/config index 63c7c80..925541d 100644 --- a/git/config +++ b/git/config @@ -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