Forked from EstebanMDQ/configure git difftool and mergetool to use opendiff in osx
Created
June 14, 2017 10:46
-
-
Save include/efe7b0754411ce2cedacb0a24a136079 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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