Update git config
Additional config based on https://blog.gitbutler.com/how-git-core-devs-configure-git/
This commit is contained in:
parent
81f3f4dd4b
commit
0463ec34bf
1 changed files with 21 additions and 1 deletions
22
gitconfig
22
gitconfig
|
@ -53,7 +53,9 @@
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
algorithm = histogram
|
algorithm = histogram
|
||||||
colorMoved = default
|
colorMoved = plain
|
||||||
|
mnemonicPrefix = true
|
||||||
|
renames = true
|
||||||
|
|
||||||
[tar "tar.xz"]
|
[tar "tar.xz"]
|
||||||
command = xz -c
|
command = xz -c
|
||||||
|
@ -63,3 +65,21 @@
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
|
[column]
|
||||||
|
ui = auto
|
||||||
|
|
||||||
|
[branch]
|
||||||
|
sort = -committerdate
|
||||||
|
|
||||||
|
[tag]
|
||||||
|
sort = version:refname
|
||||||
|
|
||||||
|
[rerere]
|
||||||
|
enabled = true
|
||||||
|
autoupdate = true
|
||||||
|
|
||||||
|
[rebase]
|
||||||
|
autoSquash = true
|
||||||
|
autoStash = true
|
||||||
|
updateRefs = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue