Forrest logo
back to the gh tool

gh-release:tldr:2ef5e

gh-release: Delete a specific release.
$ gh release delete ${tag}
try on your machine

The command "gh release delete ${tag}" is used to delete a release on GitHub. Here's a breakdown of each component:

  • "gh": This refers to the GitHub CLI (Command Line Interface), a command-line tool that allows you to interact with GitHub from your terminal.
  • "release": This is a subcommand of the "gh" CLI that deals specifically with GitHub releases.
  • "delete": This is an action verb, indicating that you want to delete something.
  • "${tag}": This is a placeholder that represents the specific release tag you want to delete. You would need to replace "${tag}" with the actual tag of the release you wish to delete.

So, when you run the "gh release delete" command with the appropriate release tag, it will trigger the deletion of that specific release on GitHub.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gh tool