- LOCAL - Current branch
- BASE - Common ancestor
- REMOTE - Branch to be merged into LOCAL
git mergetoolopens merge tool:diffget 2apply head changes (base branch), throwing away merge changes:diffget 3apply remote changes (merge branch), applying changes in merge branch:diffg (RE|BA|LO)apply changes from REMOTE, BASE, LOCAL]c, [cmove between conflictsctrl + w, {h,j,k,l}move between windows:wqasave all and closegit commitcomplete merge
git config merge.tool vimdiffgit config merge.conflictstyle diff3git config mergetool.prompt falsegit config rere.enabled truegit config --global mergetool.keepBackup false