Skip to content

Instantly share code, notes, and snippets.

@georgy-martirosov
Created November 17, 2011 12:57
Show Gist options
  • Save georgy-martirosov/1373077 to your computer and use it in GitHub Desktop.
Save georgy-martirosov/1373077 to your computer and use it in GitHub Desktop.
external diff tool for git, uses XCode diff tool (opendiff)
echo 'opendiff $2 $5' > ~/opendiff-git.sh
chmod a+x ~/opendiff-git.sh
git config --global diff.external ~/opendiff-git.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment