Created
April 14, 2016 05:40
-
-
Save wxactly/c324172c98648ff3e1784cb83b9053dd to your computer and use it in GitHub Desktop.
Install/configure p4merge as your git mergetool and difftool
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
brew cask install p4merge --force | |
git config --global merge.tool p4mergetool | |
git config --global mergetool.p4mergetool.cmd "$HOME/Applications/p4merge.app/Contents/Resources/launchp4merge \$PWD/\$BASE \$PWD/\$LOCAL \$PWD/\$REMOTE \$PWD/\$MERGED" | |
git config --global mergetool.keepBackup false | |
git config --global diff.tool p4mergetool | |
git config --global difftool.p4mergetool.cmd "$HOME/Applications/p4merge.app/Contents/Resources/launchp4merge \$LOCAL \$REMOTE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment