When there\'s a collison during git merge
, I open a mergetool called Meld. It opens three files LOCAL, BASE and REMOTE. As I\'ve read LOCAL is my local branch,
Please see Saad's answer for the correct answer.
With meld 1.8.1 on Ubuntu I was getting the
wrong number of arguments supplied to --diff
and adding the --output before $MERGED fixed it for me:
[mergetool "mymeld"]
cmd = meld --diff $BASE $LOCAL --diff $BASE $REMOTE --diff $LOCAL $BASE $REMOTE --output $MERGED