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

后端 未结 5 2029
暗喜
暗喜 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

    I feel the existing answers slightly missed the point. Here is my own dog food:

    Arguments Detail:

    Diff:  $LOCAL $REMOTE
    Merge: $LOCAL $BASE $REMOTE --auto-merge --output=$MERGED
    

    For External Diff, you need to remove $BASE from your argument list.

    For 3-way merging, you need to click on the External Merge Tool option instead, which will only be available if there are any unsolved conflicts.

    If you are not restricted to Sourcetree + Meld, I reckon the Git Extensions + KDiff3 suite could be a good open-sourced alternative also.

提交回复
热议问题