Text of cli.github.com › manual › gh_issue_pin 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 issue pin gh issue pin {<number> | <url>} Pin an issue to a repository. The issue can be specified by issue number or URL. Options inherited from parent commands -R , --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format Examples # Pin an issue to the current repository $ gh issue pin 23 # Pin an issue by URL $ gh issue pin https://github.com/owner/repo/issues/23 # Pin an issue to specific repository $ gh issue pin 23 --repo owner/repo See also gh issue