Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save include/efe7b0754411ce2cedacb0a24a136079 to your computer and use it in GitHub Desktop.
Save include/efe7b0754411ce2cedacb0a24a136079 to your computer and use it in GitHub Desktop.
git config --global diff.tool opendiff
git config --global difftool.opendiff.cmd 'opendiff "$LOCAL" "$REMOTE"'
git config --global merge.tool opendiff
git config --global mergetool.opendiff.cmd 'opendiff -merge "$MERGED" "$LOCAL" "$REMOTE"'
git config --global mergetool.opendiff.trustExitCode false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment