GH-RELEASE-LIST(1)

πŸ’– gh-release-list β€” your lil' window into a repo's release history πŸ’–

Okay bestie, so this is the gh-release-list page from the GitHub CLI manual β€” it's the one that shows you every release chillin' in a repository. Think of it as the group chat scrollback for all your versions. Let's get into it 🫢


🌸 NAME 🌸

gh-release-list β€” literally just lists the releases in a repository. That's the whole gig. Iconic, honestly.


✨ SYNOPSIS ✨

gh release list [flags]

πŸ’… OPTIONS πŸ’…

  • --exclude-drafts β€” ngl, this one filters out the draft releases. You know, the ones that aren't ready yet. Bye πŸ‘‹
  • --exclude-pre-releases β€” same energy but for pre-releases β€” hides 'em from your list ✨
  • -q, --jq _<expression>_ β€” filter the JSON output using a jq expression. Chef's kiss for when raw JSON is too much πŸ’…
  • --json _<fields>_ β€” spit out JSON with the specific fields you asked for
  • -L, --limit _<int>_ (default 30) β€” the max number of items to fetch. Thirty by default, bestie, that's the vibe πŸ’–
  • -O, --order _<string>_ (default "desc") β€” the order releases come back in. Your options are {asc|desc} β€” ascending or descending, pick your fighter ⭐
  • -t, --template _<string>_ β€” format the JSON output using a Go template. See gh help formatting for the deets πŸŽ€

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

  • -R, --repo _<[HOST/]OWNER/REPO>_ β€” select a different repository using the [HOST/]OWNER/REPO format. Handy when you're snooping on someone else's releases πŸ‘€

πŸ¦‹ ALIASES πŸ¦‹

gh release ls

Yeah, ls works too β€” because we're all just shell gremlins at heart πŸ’€


🌈 JSON FIELDS 🌈

The fields you can ask for are:

createdAt, isDraft, isImmutable, isLatest, isPrerelease, name, publishedAt, tagName

That's the whole menu β€” order it however you like πŸ“


πŸ”₯ EXIT CODES πŸ”₯

  • 0 β€” Successful execution. We ate and left no crumbs πŸ‘‘
  • 1 β€” Error. It's giving... not great 😭
  • 2 β€” Command canceled
  • 4 β€” Authentication required. Log in, bestie πŸ’œ
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. So like, always double-check if something weird happens, iykyk πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

  • gh-release(1) β€” the parent command, the main character energy this whole thing lives under ✨

Anyway bestie, that's the whole page β€” every flag, every field, every exit code, no cap. Go forth and list those releases, you gorgeous Unix gremlin πŸ’–

This cutie was brought to you by GitHub CLI v2.102.0, dated Oct 2026, and yes it's the GH-RELEASE-LIST(1) manual page β€” slay πŸ¦‹

πŸ“¦ where this page comes from