Created
May 15, 2014 15:47
-
-
Save frak/e9bae0a21cbdf2cb26dc to your computer and use it in GitHub Desktop.
Graphical 3 way merging for Git using P4Merge
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
# Download and install P4Merge from here: http://www.perforce.com/product/components/perforce-visual-merge-and-diff-tools | |
# And then add this to your Git config | |
[merge] | |
tool = p4mergetool | |
[mergetool "p4mergetool"] | |
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge $PWD/$BASE $PWD/$REMOTE $PWD/$LOCAL $PWD/$MERGED | |
trustExitCode = false | |
[diff] | |
tool = p4mergetool | |
[difftool "p4mergetool"] | |
cmd = /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