DOKK / manpages / debian 10 / hub / hub-browse.1.en
HUB-BROWSE(1) Hub Manual HUB-BROWSE(1)

hub-browse - Open a GitHub repository in a web browser.

hub browse [-uc] [[USER/]REPOSITORY|--] [SUBPAGE]

Print the URL instead of opening it.
Put the URL in clipboard instead of opening it.
[USER/]REPOSITORY
Defaults to repository in the current working directory.
One of "wiki", "commits", "issues", or other (default: "tree").

$ hub browse
> open https://github.com/REPO
$ hub browse -- issues
> open https://github.com/REPO/issues
$ hub browse jingweno/gh
> open https://github.com/jingweno/gh
$ hub browse gh wiki
> open https://github.com/USER/gh/wiki

hub-compare(1), hub(1)

March 2019 GITHUB