Skip to content

Instantly share code, notes, and snippets.

@ahmetus
Forked from lilyball/gist:4159011
Created December 19, 2012 15:02
Show Gist options
  • Save ahmetus/4337286 to your computer and use it in GitHub Desktop.
Save ahmetus/4337286 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