![Forrest logo](/images/logo.png)
gh-label:tldr:f22e3
gh-label: Delete a label for the repository in the current directory, prompting for confirmation.
$ gh label delete ${name}
try on your machine
The command gh label delete ${name}
is used to delete a label in GitHub. Here's an explanation of the different parts of the command:
gh
: It is a command-line interface tool called "GitHub CLI" that provides an easy way to work with GitHub repositories from the command line.label
: It is a subcommand ofgh
used to interact with labels within a GitHub repository.delete
: It is a subcommand ofgh label
used to delete labels. This subcommand is followed by the name of the label you want to delete.${name}
: This is a placeholder indicating that you need to replace${name}
with the actual name of the label you want to delete. The$
symbol usually denotes the usage of variables or placeholders in command-line syntax.
For example, if you have a label named "bug" that you want to delete, you would replace ${name}
with bug
, and the command will be gh label delete bug
. This will delete the label named "bug" from the GitHub repository you're currently working with.
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.