Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EstebanMDQ/40343c893d26a0bd5bb7 to your computer and use it in GitHub Desktop.
Save EstebanMDQ/40343c893d26a0bd5bb7 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