1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Better git settings

Source: https://blog.gitbutler.com/how-git-core-devs-configure-git/
This commit is contained in:
2025-03-19 11:45:00 +01:00
parent 9b03c61bf2
commit 94a179c162

View File

@@ -20,9 +20,11 @@
[push] [push]
default = simple default = simple
autoSetupRemote = true autoSetupRemote = true
followTags = true
[merge] [merge]
tool = vimdiff tool = vimdiff
conflictstyle = zdiff3
[help] [help]
autocorrect = 10 autocorrect = 10
@@ -46,11 +48,13 @@
[rebase] [rebase]
autosquash = true autosquash = true
updateRefs = true updaterefs = true
autoStash = true autoStash = true
[fetch] [fetch]
prune = true prune = true
pruneTags = true
all = true
[sendemail] [sendemail]
smtpserver = charon.bertptrs.nl smtpserver = charon.bertptrs.nl
@@ -72,3 +76,15 @@
# Mark any lines that were added in a skipped commit and can not be # Mark any lines that were added in a skipped commit and can not be
# attributed with a `*` # attributed with a `*`
markUnblamableLines = true markUnblamableLines = true
[branch]
sort = -committerdate
[diff]
algorithm = histogram
colorMoved = plain
mnemonicprefix = true
renames = true
[rerere]
enabled = true
autoupdate = true
[tag]
sort = version:refname