snippetbashTip
hub browse — Open a GitHub repository in the browser or print the URL. More information: <https://hub.github.com/
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 browseOpen 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 browseOpen 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.