gh-label-edit - Edit a label
Contents
Description
Update a label on GitHub.
A label can be renamed using the --name flag.
The label color needs to be 6 character hex value.
Example
# 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"
Name
gh-label-edit - Edit a label
Options
-c, --color<string>
Color of the label
-d, --description<string>
Description of the label
-n, --name<string>
New name of the label
Options Inherited From Parent Commands
-R, --repo<[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format
See Also
gh-label(1) Jan 2025 GH-LABEL-EDIT(1)
Synopsis
ghlabeledit<name>[flags]
