defunkt / github-gem

`github` command line helper for simplifying your GitHub experience.

Home Page:http://github.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot use `github browse` when 'origin' has been renamed

opened this issue · comments

I have a repo and I've renamed the 'origin' branch to 'github', so using

github browse

returns

Error: missing remote 'origin'

It'd be great if it were possible to specify the remote you want to browse.

It turns out you can:

$ git config github.origin $new_origin_remote_name

However this still needs to be documented.