From 46fec517f1fb957d5a206df379482723b5ae130d Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 9 May 2024 14:46:00 +0200 Subject: git: saner defaults for branches and configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .gitconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitconfig b/.gitconfig index c708051..acbcc07 100644 --- a/.gitconfig +++ b/.gitconfig @@ -24,6 +24,7 @@ [alias] a = commit -a -s -v down = pull --rebase --stat + fpush = push --force-with-lease [format] signoff = true @@ -51,3 +52,13 @@ clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process + +[rerere] + enabled = true + autoUpdate = true + +[branch] + sort = -committerdate + +[column] + ui = auto -- cgit v1.2.3