Skip to content

Instantly share code, notes, and snippets.

@limboinf
Forked from samsalisbury/.gitconfig
Last active May 20, 2016 02:26
Show Gist options
  • Save limboinf/fd972de398f47241f63222f8cca969a8 to your computer and use it in GitHub Desktop.
Save limboinf/fd972de398f47241f63222f8cca969a8 to your computer and use it in GitHub Desktop.
Git diff and merge with p4merge (OSX)
[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\""
[difftool]
prompt = false
@limboinf
Copy link
Author

we should add 💯

[difftool]
        prompt = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment