Add gitconfig in xdg location

Recommendations came from this blog post:
    https://blog.gitbutler.com/how-git-core-devs-configure-git/

Let's see how this works out lol

Test
This commit is contained in:
anmiller 2025-03-20 20:20:37 +00:00
parent b0e5c8e511
commit d0a7049bd8
2 changed files with 27 additions and 0 deletions

View File

@ -17,6 +17,8 @@ apply_dotfile sh
apply_dotfile readline apply_dotfile readline
apply_dotfile screen apply_dotfile screen
apply_dotfile git
apply_dotfile vim apply_dotfile vim
apply_dotfile ruby apply_dotfile ruby

25
git/.config/git/config Normal file
View File

@ -0,0 +1,25 @@
[branch]
sort = -committerdate
[column]
ui = auto
[tag]
sort = version:refname
[init]
defaultBranch = main
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
[commit]
verbose = true
[core]
excludefiles = ~/.config/git/ignore