GitHub Bottle Opener
When in the console, I often want to open GitHub to look at:
- my current repo
- a particular commit in my current repo
- one of my gems
- someone else’s gem
You could use Hub for this but that’s like using a Swiss army penknife when all you need is a bottle opener.
Instead I use gh, a trivial little script which is already saving me time.
$ gh # open current repo on GitHub $ gh <commit> # open current repo @ commit on GitHub $ gh repo # open my other repo on GitHub $ gh username/repo # open username's repo on GitHub