|
@@ -14,6 +14,12 @@ git config --global push.followTags true
|
|
|
git config --global diff.tool vimdiff
|
|
|
git config --global core.excludesfile '~/.gitignore'
|
|
|
|
|
|
+# Git two-ways merge tool (look for whiteinge/diffconflicts in vimrc)
|
|
|
+git config --global merge.tool diffconflicts
|
|
|
+git config --global mergetool.diffconflicts.cmd 'vim -c DiffConflicts "$MERGED" "$BASE" "$LOCAL" "$REMOTE"'
|
|
|
+git config --global mergetool.diffconflicts.trustExitCode true
|
|
|
+git config --global mergetool.keepBackup false
|
|
|
+
|
|
|
# Copy global gitignore
|
|
|
cp --update --link ./Templates/gitignore ~/.gitignore
|
|
|
|