Git: enable rerere and diff3 mode

This commit is contained in:
Marko Korhonen 2022-11-04 12:49:22 +02:00
parent 8983127f3e
commit 1962505d8e
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

View File

@ -20,10 +20,11 @@
[merge] [merge]
prompt = false prompt = false
conflictstyle = diff3
tool = nvim-merge tool = nvim-merge
[mergetool "nvim-merge"] [mergetool "nvim-merge"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J' cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
keepBackup = false keepBackup = false
[diff] [diff]
@ -50,3 +51,6 @@
[credential] [credential]
helper = cache --timeout=600 helper = cache --timeout=600
helper = !pass-git-helper $@ helper = !pass-git-helper $@
[rerere]
enabled = true