GH-RELEASE-DELETE(1)
π GH-RELEASE-DELETE(1) β the GitHub CLI manual, but make it make sense π
okay bestie, welcome to the gh manual page for gh-release-delete β it's the one where we yeet a release into the void. yes, this is a real page from the GitHub CLI manual. no cap. let's get into it β¨
πΈ NAME πΈ
gh-release-delete β Delete a release ποΈβ¨
like literally, it deletes a release. that's the whole vibe.
π¦ SYNOPSIS π¦
gh release delete <tag> [flags]
so you hand it a <tag>, you can sprinkle some [flags] on top, and it goes to work. iconic behavior honestly.
π OPTIONS π
here's where it gets fun, pay attention:
--cleanup-tagβ not just the release, bestie β this one ALSO deletes the tag the release was attached to. it's giving "take everything with me on the way out" π-y,--yesβ skips that confirmation prompt. no "are you sure?" moment, no extra tap of the yes button. it just goes. use this when you're confident (or when you're in a script and there's nobody there to press yes π«Ά)
β¨ OPTIONS INHERITED FROM PARENT COMMANDS β¨
so these aren't even this command's own flags β they're handed down from the parent, like a cute little inheritance situation π
-R,--repo <[HOST/]OWNER/REPO>β picks a whole different repo to work on, using the[HOST/]OWNER/REPOformat. yes, with the optional host and all. don't skip the format, it matters π
π₯ EXIT CODES π₯
every command has to tell you how it went, and here's the full rundown, no gatekeeping:
0β Successful execution π slay, it worked1β Error π something went wrong2β Command canceled π you (or something) backed out4β Authentication required π you gotta prove who you are first, bestie
NOTE: specific commands may have additional exit codes, so pls refer to the command's help for more info. this list is not the whole story, iykyk π§
π SEE ALSO π
gh-release(1)β the main character of the release universe, go check it out π
okay that's the whole page, you're caught up fr fr. this gorgeous little manual came from GitHub CLI v2.102.0, dated Oct 2026 β so go forth and delete responsibly, bestie π«Άππ
π¦ 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