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