- Install meld
- Add location of
meld.exe
to the PATH, e.g.C:\Program Files (x86)\Meld
- In SourceTree, go to Tools/Options/Diff
- In
External Diff Tool
, chooseCustom
- Enter
meld
inDiff Command
and$LOCAL $REMOTE
inArguments
- Click Ok and restart SourceTree
Created
January 9, 2015 02:57
-
-
Save chinhodado/6fc37def3e12ea09f785 to your computer and use it in GitHub Desktop.
How to use meld with Sourcetree on Windows
This worked for me, but I had to type this for it to work instead of what was suggested: meld.exe
Step 2, what is the PATH? Is that a setting in Sourcetree?
I know the path to Meld.exe, I'm just not sure where I'm putting that info.
Just to add to the previous comments and question from @vadimnehta
You can add escaped quotes around the variables to handle files with spaces in the path or name.
\"$LOCAL\" \"$MERGED\" \"$REMOTE\"
For Meld for OSX
Diff Command:
/Applications/Meld.app/Contents/MacOS/Meld
Diff Command Arguments:
$LOCAL $REMOTE
Merge Tool
/Applications/Meld.app/Contents/MacOS/Meld
Merge Tool Arguments:
--auto-merge $LOCAL $BASE $REMOTE --output=$MERGED
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep, the settings for this were removed - probably.