hub-browse

opens the GitHub repository page in your web browser

TLDR

Open repo in browser
$ hub browse
Open issues page
$ hub browse -- issues
Open pull requests
$ hub browse -- pulls
Open specific issue
$ hub browse -- issues/[123]
Open wiki
$ hub browse -- wiki
Open different repo
$ hub browse [owner/repo]
Print URL instead of opening browser
$ hub browse -u
Copy URL to clipboard
$ hub browse -c

SYNOPSIS

hub browse [options] [owner/repo] [-- subpage]

DESCRIPTION

hub browse opens the GitHub repository page in your web browser. You can specify subpages like issues, pulls, wiki, commits, or specific file paths. Works with the current repository by default or specify another repo.

PARAMETERS

-u, --url

Print URL instead of opening browser.
-c, --copy
Copy URL to clipboard.
--
Separator for subpage path.

INSTALL

sudo apt install hub
sudo pacman -S hub
sudo zypper install hub
brew install hub
nix profile install nixpkgs#hub

CAVEATS

Hub is deprecated. Consider using gh browse instead.

SEE ALSO

hub(1), gh-browse(1)