gh-issue-pin - Man Page

Pin a issue

Synopsis

gh issue pin {<number> | <url>} [flags]

Description

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

Example

# 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(1)

Referenced By

gh-issue(1).

Jul 2024 GitHub CLI manual