GH-PR-REOPEN(1)

πŸ’… GH-PR-REOPEN(1) πŸ’…

okay so welcome to the GitHub CLI manual, bestie β€” this page is gh-pr-reopen(1), and it’s literally the β€œundo the close” button for pull requests. ✨


🌸 NAME 🌸

gh-pr-reopen β€” reopen a pull request. periodt. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

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

you point it at a <number>, a <url>, or a <branch>, and the flags do their little thing. iconic behavior, ngl. πŸ’–


✨ OPTIONS ✨

  • -c, --comment <string> β€” Add a reopening comment. like, leave a lil note when you reopen it, iykyk πŸ’¬πŸŽ€

πŸ”₯ OPTIONS INHERITED FROM PARENT COMMANDS πŸ”₯

  • -R, --repo <[HOST/]OWNER/REPO> β€” Select another repository using the [HOST/]OWNER/REPO format. main character energy for repo-hopping πŸƒβ€β™€οΈπŸ’¨

πŸ’€ EXIT CODES πŸ’€

  • 0: Successful execution β€” slay, it worked πŸ’–βœ¨
  • 1: Error β€” not the vibe 😭
  • 2: Command canceled β€” you hit the brakes πŸ›‘
  • 4: Authentication required β€” gotta authenticate first, bestie πŸ”
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. πŸ‘€

🌈 SEE ALSO 🌈

  • gh-pr(1) β€” the parent command this page spins off from πŸ‘‘πŸ’…

later bestie πŸ’– β€” this iconic little page comes from GitHub CLI v2.102.0, dated Oct 2026. πŸŽ€

πŸ“¦ where this page comes from