Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Setup p4merge as mergetool and difftool for git in windows (found here:
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\"'
Copy link

adamveld12 commented Jul 14, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment