.nh .TH "GH-ISSUE-PIN" "1" "Oct 2022" "" "GitHub CLI manual" .SH NAME .PP gh-issue-pin - Pin a issue .SH SYNOPSIS .PP \fB\fCgh issue pin { | } [flags]\fR .SH DESCRIPTION .PP Pin an issue to a repository. .PP The issue can be specified by issue number or URL. .SH OPTIONS INHERITED FROM PARENT COMMANDS .TP \fB\fC-R\fR, \fB\fC--repo\fR \fB\fC<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH EXAMPLE .PP .RS .nf # 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 .fi .RE .SH SEE ALSO .PP \fB\fCgh-issue(1)\fR