Reputation: 194
What is the final command launched by git mergetool when the following is set in the config:
git config --global merge.tool vimdiff
Upvotes: 1
Views: 206
Reputation: 94696
vim -d $MERGED $LOCAL $BASE $REMOTE -c wincmd J
where arguments are different stages of a merge. See description at https://www.git-scm.com/docs/git-mergetool#git-mergetool--tlttoolgt
See also https://vi.stackexchange.com/questions/3985/git-mergetool-vimdiff-command
Upvotes: 3