Created
November 26, 2013 16:15
-
-
Save fedir/7661179 to your computer and use it in GitHub Desktop.
Meld as merging tool on Ubuntu // ref .: http://nathanhoad.net/how-to-meld-for-git-diffs-in-ubuntu-hardy
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])) |
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
git config --global diff.external /home/fedir/bin/diff.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment