hub-*: add page (#11228)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
WangLinSongss
2023-10-25 19:40:02 +11:00
committed by GitHub
parent 015e62b128
commit 4a15348827
9 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# hub browse
> Open a GitHub repository in the browser or print the URL.
> More information: <https://cli.github.com/manual/hub_browse>.
- 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}}`