I'm using Beyond Compare 3 and SourceTree 22.214.171.124. I've tried everything I could think of to get SourceTree to use Beyond Compare as the external diff tool to no avail (edit .gticonfig directly, using the Tools|Options|Diff dialog once by selecting Beyond Compare as the external diff tool and once by selecting Custom and entering the commands manually). Below is what SourceTree ads to .gitconfig when I select Beyond Compare:
[difftool "sourcetree"] cmd = 'C:/Program Files (x86)/Beyond Compare 3/BComp.exe' \"$LOCAL\" \"$REMOTE\" [mergetool "sourcetree"] cmd = 'C:/Program Files (x86)/Beyond Compare 3/BComp.exe' \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\" trustExitCode = true
I can't see anything wrong with this, yet Ctrl+D or external Diff does simply nothing.
I had this all working, so what am I missing?
Some initial troubleshooting ideas:
1) Did you install Beyond Compare 3 to that location? My computer has a SSD for C, so I typically install software onto my D drive instead.
2) Have you tried launching Beyond Compare from the command line using that command (replacing the variables with test files)?
3) Have you tried running "git difftool" from the command line? It should use that same config to launch Beyond Compare 3.
4) Is there another diff tool that SourceTree will launch correctly? If so, you might check to see if it escapes characters the same way in the .gitconfig.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs