Skip to content

Instantly share code, notes, and snippets.

@tgautier
Forked from lilyball/gist:4159011
Created January 7, 2013 11:26
Show Gist options
  • Save tgautier/4474329 to your computer and use it in GitHub Desktop.
Save tgautier/4474329 to your computer and use it in GitHub Desktop.
git config --global alias.ksreview '!f() { local SHA=${1:-HEAD}; local BRANCH=${2:-master}; if [ $SHA == $BRANCH ]; then SHA=HEAD; fi; git difftool -y -t Kaleidoscope $BRANCH...$SHA; }; f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment