From 3d41cc76c61e9fc9a3f0ddc54ea7a83ba6d3cb58 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 1 Mar 2025 15:14:18 +0200
Subject: [PATCH] Some git config changes.

Lifted from https://blog.gitbutler.com/how-git-core-devs-configure-git/.
---
 .config/git/config | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.config/git/config b/.config/git/config
index 08bc4c3..b315950 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -44,23 +44,33 @@
     tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
     trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease
 
+[branch]
+    sort = -committerdate
+
 [color]
     grep = true
     ui = auto
 
+[commit]
+    verbose = true
+
 [core]
     whitespace = space-before-tab,-indent-with-non-tab,trailing-space
 
 [diff]
     renames = copies
     tool = meld
+    algorithm = histogram
+    colorMoved = plain
 
 [difftool]
     prompt = false
 
 [fetch]
+    all = true
     fsckobjects = true
     prune = true
+    pruneTags = true
 
 [filter "ansible-vault"]
     clean = ANSIBLE_VERBOSITY=0 ansible-vault encrypt
@@ -89,12 +99,14 @@
 
 [rebase]
     autoSquash = true
+    updateRefs = true
 
 [receive]
     fsckObjects = true
 
 [tag]
     forceSignAnnotated = true
+    sort = version:refname
 
 [transfer]
     fsckobjects = true
-- 
GitLab