GH-LABEL-EDIT(1) GitHub CLI manual GH-LABEL-EDIT(1)

gh-label-edit - Edit a label

gh label edit <name> [flags]

Update a label on GitHub.

A label can be renamed using the --name flag.

The label color needs to be 6 character hex value.

Color of the label
Description of the label
New name of the label

Select another repository using the [HOST/]OWNER/REPO format

# update the color of the bug label
$ gh label edit bug --color FF0000
# rename and edit the description of the bug label
$ gh label edit bug --name big-bug --description "Bigger than normal bug"

gh-label(1)

Apr 2024