gh project unlink
从存储库或团队中取消项目关联
gh project unlink [<number>] [flag] [flags]
选项
-
--owner <string>
- 所有者的登录名。对于当前用户,请使用 "@me"。
-R
,--repo <string>
- 要取消关联的存储库
-T
,--team <string>
- 要取消关联的团队
示例
# 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