From 8467be3c4303c7c6546ca87d53f75aea35eb8f08 Mon Sep 17 00:00:00 2001 From: Proctor Date: Wed, 10 Jun 2026 15:36:47 -0500 Subject: [PATCH] git: update gitconfig settings --- git/.gitconfig | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/git/.gitconfig b/git/.gitconfig index f737264..9619f6b 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -15,6 +15,11 @@ defaultBranch = main [alias] ; Command aliases for the git[1] command wrapper last = cat-file commit HEAD +[diff] + algorithm = histogram + colorMoved = zebra # plain + mnemonicPrefix = true + renames = true [branch] autoSetupRebase = always [checkout] @@ -23,17 +28,27 @@ format = ssh [commit] gpgsign = true +[fetch] + all = true + prune = true + pruneTags = true [tag] - gpgsign = true + gpgsign = true + sort = version:refname [gpg "ssh"] allowedSignersFile = ~/.ssh/allowed_signers +[help] + autocorrect = prompt [merge] + conflitstyle = zdiff3 ff = only [push] default = current - autoSetupRemote = true + autoSetupRemote = true + followTags = true [rerere] enabled = true + autoupdate = true [remote] pushDefault = origin