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

gh-label-create - Create a new label

gh label create <name> [flags]

Create a new label on GitHub, or update an existing one with --force.

Must specify name for the label. The description and color are optional. If a color isn't provided, a random one will be chosen.

The label color needs to be 6 character hex value.

Color of the label
Description of the label
Update the label color and description if label already exists

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

# create new bug label
$ gh label create bug --description "Something isn't working" --color E99695

gh-label(1)

Apr 2024