GH-ISSUE-DELETE(1)
π GH-ISSUE-DELETE(1) β the GitHub CLI manual, bestie edition π
okay so real talk, this is the gh-issue-delete page from the GitHub CLI manual, and yes it does exactly what it says on the tin. we're deleting an issue. gone. poof. β¨
πΈ NAME πΈ
gh-issue-delete β literally just delete issue. that's the whole vibe. no cap. π
π¦ SYNOPSIS π¦
gh issue delete {<number> | <url>} [flags]
so you give it either a <number> or a <url>, and honestly bestie, pick one, you don't need both. then optionally some [flags] because we love options. π
β¨ OPTIONS β¨
--yesβ confirms the deletion without prompting you. it's giving "I said what I said" energy β no little "are you sure tho?" moment, it just goes. use it when you're confident (or reckless, no judgement π«Ά).
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones come down from the parent command, like hand-me-downs but actually useful:
-R,--repo <[HOST/]OWNER/REPO>β picks a whole different repository, using the[HOST/]OWNER/REPOformat. so like,HOSTis optional, thenOWNER/REPO. main character energy for people with a million repos fr fr. π
π EXIT CODES π
the vibes check of "how did it go":
0: Successful execution β slay, it worked, we ate. β¨1: Error β something went wrong, it's giving sad girl hours π2: Command canceled β you (or something) hit the brakes. no delete today. π4: Authentication required β you gotta log in first, bestie, they don't know you like that π₯
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. iykyk π
π SEE ALSO π
gh-issue(1)β the whole issue family, go say hi π§
okay that's the page!! this lil doc is from GitHub CLI v2.102.0, dated Oct 2026. go forth and delete responsibly, 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