


git diffy to use opendiff git diffp to use p4merge. after we do that, in the future, we can use. git config -global 'c:/programfiles/perforce/p4merge. There is a super simple way to set up git to use opendiff or p4merge as the diff tool: git config -global alias.diffy 'difftool -t opendiff -y' git config -global alias.diffp 'difftool -t p4merge -y'. The second command will tell Git where to look for the p4merge tool. I will pass the command as git config -global merge.tool p4merge, because these settings are needed to be at the user level and then press enter. So by using the Git config command, am going to config Git to use p4merge as the merge resolution tool.

I am going to position the Git Bash window so that, I can able to see the address path of the application file.
P4MERGE MAC DOWNLOAD
First download p4merge and drag & drop to your applications from their download page. However if you follow the instructions then you will launch with their launch stub that works with git seamlessly. Searched my entire drive and the only instance of p4merge I see is in /Applications/. If you call p4merge directly on MacOS you will have this issue and need to close p4merge for every file as you use mergetool in git. now, we know the location, just close and go back and then open the Git Bash. Im on macOS Mojave, Git version 2.19.0 When doing git mergetool, instead of p4merge, filemerge comes up. Going into that folder you can see a p4merge application file, Just double click on that, it will launch the p4merge. First, let's find where P4merge has installed.īy default, the programs will installed in the Local disk, under that select the program files and in that, you can see a folder by the name called perforce, which is the name of the company that makes p4merge. Here I am going to configure P4merge to work with Git.
