Created
January 11, 2013 18:15
-
-
Save kylefox/4512777 to your computer and use it in GitHub Desktop.
If you want to use Xcode's FileMerge as your git mergetool, this is how you set it up.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tell system when Xcode utilities live: | |
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer | |
# Set "opendiff" as the default mergetool globally: | |
git config --global merge.tool opendiff |
thank you. exactly what i was looking for
Fantastic, thank you!
π
I also ran this, so after saving changes and exiting, git wouldn't ask "Was the merge successful? [y/n]?"
git config --global mergetool.opendiff.trustExitCode true
π
thank you ππ»
π Still useful 10 years on
π Thanks for this.
thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are correct KokoDoko.