feat(git): improve options in gitconfig

Based on some options explored at
jvns.ca/blog/2024/02/16/popular-git-config-options
This commit is contained in:
Price Hiller 2024-02-16 16:53:21 -06:00
parent d206395e48
commit 5d8da560f4
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -16,10 +16,12 @@
diffFilter = delta --color-only --features=interactive diffFilter = delta --color-only --features=interactive
[merge] [merge]
conflictstyle = diff3 conflictstyle = zdiff3
[diff] [diff]
colorMoved = default colorMoved = default
submodule = log
tool = nvimdiff
[delta] [delta]
navigate = true navigate = true
@ -65,6 +67,7 @@
[log] [log]
abbrevCommit = true abbrevCommit = true
decorate = short decorate = short
date = iso
[apply] [apply]
ignoreWhitespace = change ignoreWhitespace = change
[rerere] [rerere]
@ -74,3 +77,19 @@
threeWay = true threeWay = true
[gpg "ssh"] [gpg "ssh"]
allowedSignersFile = ~/.config/git/allowed_signers allowedSignersFile = ~/.config/git/allowed_signers
[rebase]
autosquash = true
autostash = true
updateRefs = true
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
prune = true
prunetags = true
[receieve]
fsckObjects = true
[status]
submoduleSummary = true
[submodule]
recurse = true