Text of cli.github.com › manual › gh_project_link as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

GitHub CLI | Take GitHub to the command line

CLI manual gh project link Link a project to a repository or a team gh project link [<number>] [flags] Options --owner <string> Login of the owner. Use "@me" for the current user. -R , --repo <string> The repository to be linked to this project -T , --team <string> The team to be linked to this project Examples # 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 See also gh project