Last active
August 29, 2015 14:11
-
-
Save vilasmaciel/b35e4f9bea33b02a1bc2 to your computer and use it in GitHub Desktop.
Meld diff script to use with git
This file contains 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
#!/usr/bin/python | |
import sys | |
import os | |
os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5])) | |
# git config --global diff.external /path/to/diff.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo apt-get install meld
git config --global diff.external
git config --global diff.external <path_to_file>/diff.py