将项目链接到存储库或团队

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

选项

--owner <string>
所有者的登录名。对于当前用户,使用“@me”。
-R, --repo <string>
要链接到此项目的存储库
-T, --team <string>
要链接到此项目的团队

示例

# link monalisa's project 1 to her repository "my_repo"
gh project link 1 --owner monalisa --repo my_repo

# link monalisa's organization's project 1 to her team "my_team"
gh project link 1 --owner my_organization --team my_team

# link monalisa's project 1 to the repository of current directory if neither --repo nor --team is specified
gh project link 1

另请参阅