Skip to content

Instantly share code, notes, and snippets.

@sourcerebels
Created February 14, 2011 17:30
Show Gist options
  • Save sourcerebels/826212 to your computer and use it in GitHub Desktop.
Save sourcerebels/826212 to your computer and use it in GitHub Desktop.
python script to use meld as diff tool for git diff
#!/usr/bin/python
# USE: git config --global diff.external diff.py
import sys
import os
os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment