GH-PR-STATUS(1)
β¨ NAME β¨
okay so this is gh-pr-status(1) β the GitHub CLI manual page for gh-pr-status, aka the little command that shows you the status of all your relevant pull requests π
πΈ SYNOPSIS πΈ
gh pr status [flags]
that's it. that's the whole vibe. π«Ά
π¦ DESCRIPTION π¦
bestie, it shows the status of relevant pull requests. that's the whole job and it does it beautifully.
the status gives you a summary of pull requests that includes stuff like pull request number, title, CI checks, reviews, etc. like a little dashboard of your whole PR life β¨
and if you're nosy (affectionate) and want more details on the CI checks specifically? run gh pr checks. it's giving "read the room, then read the logs" ππ₯
π OPTIONS π
-c,--conflict-statusβ shows you the merge conflict status of each pull request, so you know exactly which ones are being messy π-q,--jq <expression>β filters the JSON output using ajqexpression. yes queen, query your own data π--json <fields>β outputs JSON with whatever fields you specify. you pick, it ships π-t,--template <string>β formats the JSON output using a Go template; see"gh help formatting"for the deets β¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β selects another repository using the[HOST/]OWNER/REPOformat. main character energy: you can just. go. to another repo π
β JSON FIELDS β
these are the fields you can ask for, and yes you can copy them exactly as written, no cap:
additions, assignees, author, autoMergeRequest, baseRefName, baseRefOid,
body, changedFiles, closed, closedAt, closingIssuesReferences, comments,
commits, createdAt, deletions, files, fullDatabaseId, headRefName,
headRefOid, headRepository, headRepositoryOwner, id, isCrossRepository,
isDraft, labels, latestReviews, maintainerCanModify, mergeCommit,
mergeStateStatus, mergeable, mergedAt, mergedBy, milestone, number,
potentialMergeCommit, projectCards, projectItems, reactionGroups,
reviewDecision, reviewRequests, reviews, state, statusCheckRollup,
title, updatedAt, url
pick your faves, build your little JSON bouquet ππ§
π EXIT CODES π
0: successful execution β slay, it worked π1: error β something went sideways π2: command canceled β nvm bestie, it's fine π«Ά4: authentication required β you gotta log in first, it's giving locked door π
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. (iykyk β always check the help fr fr)
π SEE ALSO π
gh-pr(1)β the parent command, the mothership, the icon herself β¨
and that's the page!! π this was written from the GitHub CLI v2.102.0 manual, dated Oct 2026 β so if you're reading this from a different version era, go check your own local copy, mwah ππ¦π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms