Skip to content

Instantly share code, notes, and snippets.

@anirudh-ramesh
Last active December 5, 2016 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anirudh-ramesh/afefd3ea93b52750c34b79b962dd54d7 to your computer and use it in GitHub Desktop.
Save anirudh-ramesh/afefd3ea93b52750c34b79b962dd54d7 to your computer and use it in GitHub Desktop.
Git Diff using Meld
#!/usr/bin/python
import sys
import os
os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5]))
sudo apt-get install meld
git config --global diff.external $HOME/GitMeldWrapper.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment