Skip to content

Instantly share code, notes, and snippets.

@jsocol
Created May 17, 2011 22:03
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 jsocol/977506 to your computer and use it in GitHub Desktop.
Save jsocol/977506 to your computer and use it in GitHub Desktop.
spits out a compare URL
$ cat /home/james/bin/git-compare
#!/bin/bash
BRANCH=$(git here)
echo "https://github.com/jsocol/kitsune/compare/$BRANCH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment