Skip to content

Instantly share code, notes, and snippets.

@Telematica
Created February 20, 2017 02:51
Show Gist options
  • Save Telematica/da57a471e0076bf673f9f6bacfa5c5e5 to your computer and use it in GitHub Desktop.
Save Telematica/da57a471e0076bf673f9f6bacfa5c5e5 to your computer and use it in GitHub Desktop.
Git external Diff Tool (Python script)
#!/usr/bin/python
import sys
import os
os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5]))
#git config -l
#diff.external=/path/to/script/diff.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment