Last active
April 8, 2016 19:45
-
-
Save Flushot/b135b5ebf2065c7bffba02a098adbab7 to your computer and use it in GitHub Desktop.
Configures Git to use p4merge so that you can run `git mergetool`
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
# Configure | |
git config --global merge.tool p4mergetool | |
git config --global mergetool.p4mergetool.cmd "/Applications/p4merge.app/Contents/Resources/launchp4merge \$PWD/\$BASE \$PWD/\$REMOTE \$PWD/\$LOCAL \$PWD/\$MERGED" | |
git config --global mergetool.p4mergetool.trustExitCode false | |
git config --global mergetool.keepBackup false | |
# Use with `git mergetool` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment