Skip to content

CLI Pull Request Reopen

github-actions[bot] edited this page Aug 19, 2026 · 1 revision

quinjet pr reopen

Reopens a closed pull request that has not been merged.

Usage:

quinjet pr reopen <number> [--repo <owner/name>] [--refresh] [--yes] [-C <DIR>] [--json]

Arguments:

Name Type / values Default What it does
<NUMBER> unsigned integer required The pull-request number.

Options:

Name Type / values Default What it does
--repo <OWNER/NAME> string unset Chooses which discovered repository the number belongs to.
--refresh flag off Asks GitHub again for the metadata rather than using the five-minute cache.
--yes flag off Confirm. Without it the command reports what it would do and changes nothing.
-C, --path <DIR> path . The repository to run against. Global.
--json flag off Prints one JSON document on stdout instead of the sentence. Global.
-h, --help flag off Prints this verb's help on stdout and exits 0.

Without --yes the verb looks the pull request up, names #N and its title, and exits 0 having changed nothing:

$ quinjet pr reopen 12
Would reopen #12 (Fix the thing). Pass --yes to reopen it.

With --yes it runs gh pr reopen <number> --repo <url> against the same canonical repository URL every other pr verb uses. Reopening an open or merged pull request fails with whatever gh reports.

--json shape, one object with a single key:

{
  "message": "Reopened #12"
}

Examples:

quinjet pr reopen 12
quinjet pr reopen 12 --yes
quinjet pr reopen 12 --repo pulkitxm/quinjet --yes --json

Where to go next

CLI reference

Repository
Changes
Remotes
Branch
Stash
Pull Request
Generated
Graft
Mcp
Project
Remote
Stack
Worktree

Guides

Optimization

Git Internals
Diff
Github
Rendering

Rust practices

Studies
Patterns

Clone this wiki locally