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

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

gh project unlink [<number>] [flags]

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

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.

# 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

gh-project(1)

Jun 2025