github-gem icon indicating copy to clipboard operation
github-gem copied to clipboard

"gh open" without any args opens up the current repo page

Open kenn opened this issue 13 years ago • 0 comments

Right now, gh open (no args) will lead us to the github top page. It is rather useless.

With this change, the same command will bring us to the origin's top page, when and only when you're in the repo's directory. If you're not in any repo, defaults to the previous behavior - go to https://github.com.

It is convenient when you have a prettified README.md as a quick reference for the project.

kenn avatar Sep 13 '12 22:09 kenn