From 0463ec34bf692c4f396c375f838f66da281f5453 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 27 Feb 2025 17:44:37 +0000 Subject: [PATCH] Update git config Additional config based on https://blog.gitbutler.com/how-git-core-devs-configure-git/ --- gitconfig | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index 0fd4fbe..95c1200 100644 --- a/gitconfig +++ b/gitconfig @@ -53,7 +53,9 @@ [diff] algorithm = histogram - colorMoved = default + colorMoved = plain + mnemonicPrefix = true + renames = true [tar "tar.xz"] command = xz -c @@ -63,3 +65,21 @@ [init] defaultBranch = main + +[column] + ui = auto + +[branch] + sort = -committerdate + +[tag] + sort = version:refname + +[rerere] + enabled = true + autoupdate = true + +[rebase] + autoSquash = true + autoStash = true + updateRefs = true