GH-PR-UNLOCK(1)

πŸ’… GH-PR-UNLOCK(1) β€” the GitHub CLI manual, bestie edition πŸŽ€

okay so picture this: it's a whole manual page for gh-pr-unlock, straight out of the GitHub CLI manual (that's the <italic> manual name </italic>, bestie, we're being official but make it cute ✨). Buckle up, we're learning exactly one (1) command and we're gonna slay it.


🌸 NAME 🌸

gh-pr-unlock β€” unlock the pull request conversation πŸ”“πŸ’¬

like literally, it unlocks. the conversation. on a pull request. that's the whole vibe.


✨ SYNOPSIS ✨

gh pr unlock {<number> | <url>} [flags]

you point it at a PR β€” either by its <number> or by its full <url> β€” and then you can sprinkle on some [flags] if you're feeling extra πŸ¦‹ (the curly braces are giving "pick one, bestie", not "type both", iykyk).


πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

yes these are hand-me-downs from the parent command and yes they still eat πŸ’…

  • -R, --repo <[HOST/]OWNER/REPO> β€” pick a whole different repository using the [HOST/]OWNER/REPO format. like, you're not locked into the repo you're standing in, you can just point at another one. main character energy fr fr 🌈

πŸ’€ EXIT CODES πŸ’€

the receipts, bestie β€” what each number means when the command dips out:

  • 0: Successful execution πŸŽ‰ (we ate, no cap)
  • 1: Error 😭 (something went wrong, not me crying)
  • 2: Command canceled πŸ™ˆ (you backed out, it happens to the best of us)
  • 4: Authentication required πŸ” (log in first, bestie, the vibes need credentials)
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. πŸ’– translation: other commands might have their own extra exit codes, so check their help if you're curious. this page is just telling you the baseline. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

  • gh-pr(1) β€” the whole gh pr family, go say hi πŸ‘‹

that's the whole page, bestie β€” go forth and unlock some conversations πŸ’œβœ¨

signed, sealed, delivered with love: GitHub CLI v2.102.0, dated Oct 2026 πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from