Created
April 25, 2012 16:29
-
-
Save luismayta/2491089 to your computer and use it in GitHub Desktop.
configurar p4merge para git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| p4merge* | |
| Create a new text file in /usr/local/bin called p4merge and add the following lines: | |
| #!/bin/sh | |
| /home/usuario/Contents/MacOS/p4merge $* | |
| Make the script executable by entering this command: | |
| chmod +x p4merge | |
| p4diff* | |
| Create a new text file in /usr/local/bin called p4diff and add the following lines: | |
| #!/bin/sh | |
| [ $# -eq 7 ] && /usr/local/bin/p4merge "$2" "$5" | |
| Make the script executable by entering this command: | |
| chmod +x p4diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment