Last active
August 29, 2015 13:56
-
-
Save reconbot/8942320 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gh='open `git config --get remote.origin.url | sed "s@.*com.\(.*\)\.git@https://github.com/\1@"`/compare/`git symbolic-ref HEAD | cut -d "/" -f 3`' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@koudelka gave an earlier version this to me - opens branch in github compare view in your favorite browser