I regularly use Atlassian SourceTree (on Mac OS X) to launch FileMerge to resolve git merge conflicts. Out of the blue it has stopped working: when I right click and select
To diagnose the problem, I ran opendiff
from the Terminal. I received the following error:
xcode-select: error: tool 'opendiff' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
To solve:
opendiff
in Terminal again, and the above error should no longer appear. Now FileMerge will open correctly from SourceTree when you click Launch External Merge Tool.