- Copy
p4merge
to /usr/local/bin/p4merge - Download P4V from http://www.perforce.com/perforce/downloads/index.html and copy p4merge.app to /Applications
- Configure Git:
$ chmod 755 /usr/local/bin/p4merge
$ git config --global merge.tool p4merge
$ git config --global diff.guitool p4merge
$ git config --global mergetool.prompt false
$ git config --global mergetool.p4merge.path /usr/local/bin/p4merge
git mergetool
andgit difftool --gui
will launch p4merge now.