![Forrest logo](/images/logo.png)
gh-alias:tldr:56d24
gh-alias: Delete a command shortcut.
$ gh alias delete ${alias_name}
try on your machine
The command gh alias delete ${alias_name}
is used to delete a previously created alias in the GitHub CLI (Command Line Interface) tool.
Here's a breakdown of the command:
gh
: This is the shorthand for the GitHub CLI tool.alias
: This is a subcommand that deals with managing aliases.delete
: This is an action that specifies the deletion of an alias.${alias_name}
: This is a placeholder that should be replaced with the actual name of the alias you want to delete.
By executing this command with the appropriate alias name, the specified alias will be removed from your list of aliases. Aliases are shortcuts or custom commands you can create for GitHub CLI to simplify common or lengthy commands.
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.