How do I use Meld as a merge tool with Sourcetree on Windows?

后端 未结 5 1958
暗喜
暗喜 2021-01-31 09:04

I have the following in my .gitconfig file:

[user]
    name = myname
    email = myname@gmail.com
[core]
    autocrlf = true
    excludesfile = C:\\         


        
5条回答
  •  抹茶落季
    2021-01-31 09:24

    The actual setting to use here in order to have a real 3-way merge, with read only THEIRS and MINE tabs is this:

    $LOCAL $BASE $REMOTE --auto-merge --output=$MERGED
    

    Note the = after --output.

    I've finally got this command right by digging in comments on the second answer to this question Git merging using Meld.

提交回复
热议问题