A command-line script to open the GitHub page, or website for a repository.
git open [remote-name] [branch-name]
$ git open
> open https://github.com/REMOTE_ORIGIN_USER/CURRENT_REPO/tree/CURRENT_BRANCH
$ git open upstream
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/CURRENT_BRANCH
$ git open upstream master
> open https://github.com/REMOTE_UPSTREAM_USER/CURRENT_REPO/tree/master
Put the bash script in ~/bin/
and make sure that folder's in your PATH.
wget -O ~/bin/git-open https://raw.githubusercontent.com/paulirish/git-open/master/git-open
@jasonmccreary did all the hard work
Check the issues for ways this could be way better.