Skip to content

Instantly share code, notes, and snippets.

@Gagan5278
Created August 13, 2020 18:17
Show Gist options
  • Save Gagan5278/3871220b2dc24156132702e342e0fd80 to your computer and use it in GitHub Desktop.
Save Gagan5278/3871220b2dc24156132702e342e0fd80 to your computer and use it in GitHub Desktop.
Integrating P4MEGRE as diff tool and merge tool with GIT
[merge]
keepBackup = false
tool = p4merge
[mergetool "p4merge"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "\"$PWD/$BASE\"" "\"$PWD/$REMOTE\"" "\"$PWD/$LOCAL\"" "\"$PWD/$MERGED\""
keepTemporaries = false
trustExitCode = false
keepBackup = false
[diff]
tool = p4merge
[difftool "p4merge"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "\"$REMOTE\"" "\"$LOCAL\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment