spotube/gh_2.76.2_macOS_amd64/share/man/man1/gh-project-unlink.1

58 lines
1.1 KiB
Groff

.nh
.TH "GH-PROJECT-UNLINK" "1" "Jul 2025" "GitHub CLI 2.76.2" "GitHub CLI manual"
.SH NAME
gh-project-unlink - Unlink a project from a repository or a team
.SH SYNOPSIS
\fBgh project unlink [<number>] [flags]\fR
.SH OPTIONS
.TP
\fB--owner\fR \fB<string>\fR
Login of the owner. Use "@me" for the current user.
.TP
\fB-R\fR, \fB--repo\fR \fB<string>\fR
The repository to be unlinked from this project
.TP
\fB-T\fR, \fB--team\fR \fB<string>\fR
The team to be unlinked from this project
.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
# Unlink monalisa's project 1 from her repository "my_repo"
$ gh project unlink 1 --owner monalisa --repo my_repo
# Unlink monalisa's organization's project 1 from her team "my_team"
$ gh project unlink 1 --owner my_organization --team my_team
# Unlink monalisa's project 1 from the repository of current directory if neither --repo nor --team is specified
$ gh project unlink 1
.EE
.SH SEE ALSO
\fBgh-project(1)\fR