- Copy p4merge to /usr/local/bin/p4merge
- Download P4V.dmg and copy P4Merge.app to /Applications
- Configure Git:
$ chmod 755 /usr/local/bin/p4merge
$ git config --global merge.tool p4merge
$ git config --global mergetool.prompt false
$ git config --global mergetool.keepBackup false
$ git config --global mergetool.p4merge.path /usr/local/bin/p4merge
git mergetool
andgit difftool
will launch p4merge now.
I wrote wrapper scripts for Windows, Mac and Linux to iron out the integration of
p4merge
withgit
: http://pempek.net/articles/2014/04/18/git-p4merge/Hope that helps.