GH-ISSUE-UNPIN(1)

πŸ’… gh-issue-unpin β€” the manual, but make it make sense

okay bestie, welcome to the gh-issue-unpin page from the GitHub CLI manual (that's the manual name, dropping it here so you know where we are 🫢). This is the whole thing, every flag and every exit code, just with the vibes turned all the way up.


✨ NAME ✨

gh-issue-unpin β€” literally just unpins an issue. that's the whole job. iconic behaviour honestly πŸ‘‘


🌸 SYNOPSIS 🌸

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

so you give it either a number or a url, and then optionally some flags. that's the shape of it, no cap.


πŸ¦‹ DESCRIPTION πŸ¦‹

Unpin an issue from a repository. yes queen, the pin is coming off πŸ’…

And how do you tell it which issue? Easy β€” the issue can be specified by issue number or by URL. Either one works. Pick your fighter ✨


πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

these aren't even this command's own flags, they're inherited from the parent commands β€” but they still work here, so we're listing them, obviously.

  • -R, --repo <[HOST/]OWNER/REPO> β€” select another repository using the [HOST]/OWNER/REPO format 🌈

πŸ’€ EXIT CODES πŸ’€

the receipts, bestie. this is what the command hands back when it's done:

  • 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.

so like, don't assume these four are the whole story for every command, mmkay? always check the specific command's help if you're being thorough 🧚


⭐ EXAMPLE ⭐

here's the demo section, and yes we're keeping it exactly as written because commands are sacred:

# 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

see how it's number, then url, then number-plus---repo? three little flavours of the same slay πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

  • gh-issue(1) β€” go hang out with the parent command, it knows things πŸ’œ

and that's the page!! GitHub CLI v2.102.0, dated Oct 2026 β€” mwah, go unpin something, love u bye πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from