HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

hub browse — Open a GitHub repository in the browser or print the URL. More information: <https://hub.github.com/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
hub browsethecommandbrowsergithubcliopenrepository

Problem

How to use the hub browse command: Open a GitHub repository in the browser or print the URL. More information: <https://hub.github.com/hub-browse.1.html>.

Solution

hub browse — Open a GitHub repository in the browser or print the URL. More information: <https://hub.github.com/hub-browse.1.html>.

Open the homepage of the current repository in the default web browser:
hub browse


Open the homepage of a specific repository in the default web browser:
hub browse {{owner}}/{{repository}}


Open the subpage of a specific repository in the default web browser, subpage can be "wiki", "commits", "issues", or other (default: "tree"):
hub browse {{owner}}/{{repository}} {{subpage}}

Code Snippets

Open the homepage of the current repository in the default web browser

hub browse

Open the homepage of a specific repository in the default web browser

hub browse {{owner}}/{{repository}}

Open the subpage of a specific repository in the default web browser, subpage can be "wiki", "commits", "issues", or other (default: "tree")

hub browse {{owner}}/{{repository}} {{subpage}}

Context

tldr-pages: common/hub browse

Revisions (0)

No revisions yet.