GH-PROJECT-DELETE(1)

โœจ GH-PROJECT-DELETE(1) โœจ

okay bestie, so this is the gh-project-delete page from the GitHub CLI manual, and it's literally the whole vibe for yeeting a project into the void ๐Ÿ’…

๐ŸŒธ NAME ๐ŸŒธ

gh-project-delete โ€” delete a project, no cap. gone. poof. ๐Ÿซถ

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

gh project delete [<number>] [flags]

that's it, that's the whole invocation. the <number> is optional and it's the project number you're about to send to the shadow realm ๐Ÿ˜ญ

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • --format <string> โ€” output format, and the only value on the menu is {json}. that's the format. that's the whole format list. icon status honestly โญ
  • -q, --jq <expression> โ€” filter that JSON output using a jq expression. you get your json, then you curate your json. main character behavior โœจ
  • --owner <string> โ€” the login of the owner. use "@me" for the current user. yes, literally "@me", it's giving self-care ๐Ÿ’–
  • -t, --template <string> โ€” format JSON output using a Go template; see "gh help formatting" for the details. fancy formatting era ๐ŸŒˆ

๐Ÿ’€ EXIT CODES ๐Ÿ’€

so when the command finishes, it tells you how it went with one of these numbers. pay attention, bestie, this is the vibe check at the end ๐Ÿ”ฅ

  • 0: successful execution โ€” slay, it worked ๐Ÿ‘‘
  • 1: error โ€” something went sideways ๐Ÿ™ˆ
  • 2: command canceled โ€” nope, not doing it, we changed our minds
  • 4: authentication required โ€” you gotta log in first, babe
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. fr fr, always check the individual command's help ๐Ÿ’œ

๐Ÿ“ EXAMPLE ๐Ÿ“

# Delete the current user's project "1"
$ gh project delete 1 --owner "@me"

see how it's done? project number, owner set to "@me", and it's gone. chef's kiss ๐Ÿงš

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

  • gh-project(1) โ€” the parent page, the source of truth, the origin story ๐Ÿ’–

and that's the wrap, bestie ๐Ÿ’ซ this page came from the GitHub CLI, version v2.102.0, dated Oct 2026 โ€” mwah, bye ๐ŸŽ€๐Ÿ’…๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from