Skip to content

Instantly share code, notes, and snippets.

@Komsomol
Created April 15, 2016 14:13
Show Gist options
  • Save Komsomol/69ddfe298d3e0595c501e58d90cc3d1a to your computer and use it in GitHub Desktop.
Save Komsomol/69ddfe298d3e0595c501e58d90cc3d1a to your computer and use it in GitHub Desktop.
Setup XCode FileMerge as MergeTool for Git
// Tell terminal where FileMerge lives.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
// Configure git to use FileMerge
git config --global merge.tool opendiff
// Run mergetool
git mergetool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment