1hub-browse(1) hub manual hub-browse(1)
2
3
4
6 hub-browse - Open a GitHub repository in a web browser.
7
9 hub browse [-uc] [[USER/]REPOSITORY|--] [SUBPAGE]
10
12 -u, --url
13 Print the URL instead of opening it.
14
15 -c, --copy
16 Put the URL in clipboard instead of opening it.
17
18 [USER/]REPOSITORY
19 Defaults to repository in the current working directory.
20
21 SUBPAGE
22 One of "wiki", "commits", "issues", or other (default: "tree").
23
25 $ hub browse
26 > open https://github.com/REPO
27
28 $ hub browse -- issues
29 > open https://github.com/REPO/issues
30
31 $ hub browse jingweno/gh
32 > open https://github.com/jingweno/gh
33
34 $ hub browse gh wiki
35 > open https://github.com/USER/gh/wiki
36
38 hub-compare(1), hub(1)
39
40
41
42
43hub version 2.14.2 20 Jul 2023 hub-browse(1)