All checks were successful
Test / frontend-tests (pull_request) Successful in 1m9s
Test / frontend-typecheck (pull_request) Successful in 1m15s
Test / rust-fmt-check (pull_request) Successful in 2m44s
Test / rust-clippy (pull_request) Successful in 24m22s
Test / rust-tests (pull_request) Successful in 25m43s
- Fix TypeScript lint errors in setup.ts and LogUpload - Remove unused imports and variables - Fix duplicate Separator exports in ui/index.tsx - Apply cargo fmt formatting to Rust code - Update ESLint configuration
97 lines
1.8 KiB
Groff
97 lines
1.8 KiB
Groff
.nh
|
|
.TH "GH-BROWSE" "1" "Nov 2024" "GitHub CLI 2.63.0" "GitHub CLI manual"
|
|
|
|
.SH NAME
|
|
gh-browse - Open the repository in the browser
|
|
|
|
|
|
.SH SYNOPSIS
|
|
\fBgh browse [<number> | <path> | <commit-SHA>] [flags]\fR
|
|
|
|
|
|
.SH DESCRIPTION
|
|
Open the GitHub repository in the web browser.
|
|
|
|
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB-b\fR, \fB--branch\fR \fB<string>\fR
|
|
Select another branch by passing in the branch name
|
|
|
|
.TP
|
|
\fB-c\fR, \fB--commit\fR \fB<string>\fR
|
|
Select another commit by passing in the commit SHA, default is the last commit
|
|
|
|
.TP
|
|
\fB-n\fR, \fB--no-browser\fR
|
|
Print destination URL instead of opening the browser
|
|
|
|
.TP
|
|
\fB-p\fR, \fB--projects\fR
|
|
Open repository projects
|
|
|
|
.TP
|
|
\fB-r\fR, \fB--releases\fR
|
|
Open repository releases
|
|
|
|
.TP
|
|
\fB-R\fR, \fB--repo\fR \fB<[HOST/]OWNER/REPO>\fR
|
|
Select another repository using the [HOST/]OWNER/REPO format
|
|
|
|
.TP
|
|
\fB-s\fR, \fB--settings\fR
|
|
Open repository settings
|
|
|
|
.TP
|
|
\fB-w\fR, \fB--wiki\fR
|
|
Open repository wiki
|
|
|
|
|
|
.SH EXIT CODES
|
|
0: Successful execution
|
|
|
|
.PP
|
|
1: Error
|
|
|
|
.PP
|
|
2: Command canceled
|
|
|
|
.PP
|
|
4: Authentication required
|
|
|
|
.PP
|
|
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
|
|
|
|
|
|
.SH EXAMPLE
|
|
.EX
|
|
$ gh browse
|
|
#=> Open the home page of the current repository
|
|
|
|
$ gh browse script/
|
|
#=> Open the script directory of the current repository
|
|
|
|
$ gh browse 217
|
|
#=> Open issue or pull request 217
|
|
|
|
$ gh browse 77507cd94ccafcf568f8560cfecde965fcfa63
|
|
#=> Open commit page
|
|
|
|
$ gh browse --settings
|
|
#=> Open repository settings
|
|
|
|
$ gh browse main.go:312
|
|
#=> Open main.go at line 312
|
|
|
|
$ gh browse main.go --branch bug-fix
|
|
#=> Open main.go with the repository at head of bug-fix branch
|
|
|
|
$ gh browse main.go --commit=77507cd94ccafcf568f8560cfecde965fcfa63
|
|
#=> Open main.go with the repository at commit 775007cd
|
|
|
|
.EE
|
|
|
|
|
|
.SH SEE ALSO
|
|
\fBgh(1)\fR
|