Scroll to navigation

GH-PROJECT-UNLINK(1) GitHub CLI manual GH-PROJECT-UNLINK(1)

NAME

gh-project-unlink - Unlink a project from a repository or a team

SYNOPSIS

gh project unlink [<number>] [flag] [flags]

OPTIONS

Login of the owner. Use "@me" for the current user.

The repository to be unlinked from this project

The team to be unlinked from this project

EXIT CODES

0: 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

# 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

SEE ALSO

gh-project(1)

Nov 2024 GitHub CLI v2.62.0