Created
November 9, 2011 08:36
-
-
Save daredude/1350855 to your computer and use it in GitHub Desktop.
Setup p4merge as mergetool and difftool for git in windows (found here: http://stackoverflow.com/questions/426026/git-on-windows-how-do-you-set-up-a-mergetool)
This file contains 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 merge.tool p4merge | |
git config --global mergetool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"' | |
git config --global diff.tool p4merge | |
git config --global difftool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had a 'path/to/my/file is (or point to) an invalid file' error. According to the solution I found, I guess the quotes mess things up.
http://stackoverflow.com/questions/866262/p4merge-error-git