![]() |
![]()
| ![]() |
![]()
NAMEgh-browse - Open repositories, issues, pull requests, and more in the browser SYNOPSISgh browse [<number> | <path> | <commit-sha>] [flags] DESCRIPTIONTransition from the terminal to the web browser to view and interact with:
OPTIONS
EXIT CODES0: Successful execution 1: Error 2: Command canceled 4: Authentication required NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. EXAMPLE# Open the home page of the current repository $ gh browse # Open the script directory of the current repository $ gh browse script/ # Open issue or pull request 217 $ gh browse 217 # Open commit page $ gh browse 77507cd94ccafcf568f8560cfecde965fcfa63 # Open repository settings $ gh browse --settings # Open main.go at line 312 $ gh browse main.go:312 # Open main.go with the repository at head of bug-fix branch $ gh browse main.go --branch bug-fix # Open main.go with the repository at commit 775007cd $ gh browse main.go --commit=77507cd94ccafcf568f8560cfecde965fcfa63 SEE ALSOgh(1)
|