$ git config --global diff.tool p4merge $ git config --global difftool.p4merge.path 'C:Program FilesPerforcep4merge.exe'