GH-RELEASE-DELETE-ASSET(1)

πŸ’… gh-release-delete-asset(1) β€” the GitHub CLI manual, bestie edition πŸŽ€

okay so picture this: you're deep in the GitHub CLI manual (gh, yes that one), and you've stumbled onto this lil page. Welcome. This is gh-release-delete-asset</p> β€” the command that literally deletes an asset from a release. gone. poof. πŸ¦‹


✨ NAME ✨

gh-release-delete-asset β€” delete an asset from a release

like, the whole personality is right there in the name, no cap.


🌸 SYNOPSIS 🌸

gh release delete-asset <tag> <asset-name> [flags]

so you give it a tag and an asset-name, and it does the thing πŸ’… the [flags] are optional extras, iykyk.


πŸŽ€ OPTIONS πŸŽ€

  • -y, --yes β€” skip the confirmation prompt. highkey the move when you already know what you're doing and you don't need the app asking "u sure??" one more time 😭

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -R, --repo <[HOST/]OWNER/REPO> β€” select another repository using the [HOST/]OWNER/REPO format. basically "not this repo, that repo" 🫢

⭐ EXIT CODES ⭐

vibe check on how it went:

  • 0: Successful execution ✨ slay
  • 1: Error πŸ’€
  • 2: Command canceled πŸ™ˆ
  • 4: Authentication required πŸ”
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

🌈 SEE ALSO 🌈

  • gh-release(1) β€” the parent, the main character, the icon πŸ‘‘

and that's the whole page, bestie πŸ§šπŸ’œ

cute lil sign-off: this was GitHub CLI v2.102.0, dated Oct 2026. periodt. πŸ’…πŸŽ€

πŸ“¦ where this page comes from