Skip to content

Instantly share code, notes, and snippets.

@wnoguchi
Created June 26, 2013 05:10
Show Gist options
  • Save wnoguchi/5864932 to your computer and use it in GitHub Desktop.
Save wnoguchi/5864932 to your computer and use it in GitHub Desktop.
git diffでp4mergeを使う方法。
[diff]
external = p4diff
#!/bin/bash
P4MERGE=/usr/local/bin/p4merge
[ $# -eq 7 ] && ${P4MERGE} "$2" "$5"
@wnoguchi
Copy link
Author

git diffでp4mergeを使う

/usr/local/bin/p4diff

sudo chmod +x /usr/local/bin/p4diff

vi ~/.gitconfig

それで

git diff

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