2023-10-25 09:40:02 +01:00
|
|
|
# hub browse
|
|
|
|
|
|
|
|
> Open a GitHub repository in the browser or print the URL.
|
2024-05-22 20:51:44 +01:00
|
|
|
> More information: <https://hub.github.com/hub-browse.1.html>.
|
2023-10-25 09:40:02 +01:00
|
|
|
|
|
|
|
- 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}}`
|