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:
parent
9db303ec84
commit
f71b17e5ff
@ -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
25
git/.config/git/config
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user