From 94ddccdf870647ad3649c81362c8857612bb0bd7 Mon Sep 17 00:00:00 2001 From: _N0x <tf@n0x.io> Date: Tue, 25 Feb 2025 13:50:20 +0100 Subject: [PATCH] FEAT: Added extended git config --- git/.gitconfig | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 git/.gitconfig diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..dd07836 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,39 @@ +# Specify the git user in the .gituser files to keep config the same across work and priv systems +[include] + path = .gituser + +# global settings to improve git and its behavior +# See https://blog.gitbutler.com/how-git-core-devs-configure-git/ +[column] + ui = auto +[branch] + sort = -committerdate +[tag] + sort = version:refname +[init] + defaultBranch = master +[diff] + algorithm = histogram +[push] + default = simple + autoSetupRemote = true + followTags = true +[fetch] + prune = true + pruneTags = true + all = true +[help] + autocorrect = prompt +[commit] + verbose = true +[rebase] + autoSquash = true + autoStash = true + updateRefs = true +[pull] + rebase = true +[merge] + conflictstyle = zdiff3 +[core] + fsmonitor = true + untrackedCache = true