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

后端 未结 5 1960
暗喜
暗喜 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:28

    For OS X it looks like this:

    • Diff Command: /Applications/Meld.app/Contents/MacOS/meld.

      • Arguments: $LOCAL $REMOTE
    • Merge Command: /Applications/Meld.app/Contents/MacOS/meld.

      • Arguments: $LOCAL $BASE $REMOTE --auto-merge --output=$MERGED

    P.S. you might have to configure the order of $local and $ remote in meld prefrences as well..

    To use it from command line you have to install it via brew: brew install meld

提交回复
热议问题