Skip to content

Instantly share code, notes, and snippets.

@jsocol
Created May 17, 2011 22:03
Show Gist options
  • Select an option

  • Save jsocol/977506 to your computer and use it in GitHub Desktop.

Select an option

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