GH-ISSUE-UNPIN(1) GitHub CLI manual GH-ISSUE-UNPIN(1)

gh-issue-unpin - Unpin a issue

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

Unpin an issue from a repository.

The issue can be specified by issue number or URL.

Select another repository using the [HOST/]OWNER/REPO format

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# Unpin issue from the current repository
$ gh issue unpin 23
# Unpin issue by URL
$ gh issue unpin https://github.com/owner/repo/issues/23
# Unpin an issue from specific repository
$ gh issue unpin 23 --repo owner/repo

gh-issue(1)

Jul 2025