Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
GH-LABEL-CREATE(1)		GitHub CLI manual	      GH-LABEL-CREATE(1)

NAME
     gh-label-create - Create a new label

SYNOPSIS
     gh label create <name> [flags]

DESCRIPTION
     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.

OPTIONS
     -c, --color <string>
	    Color of the label

     -d, --description <string>
	    Description of the label

     -f, --force
	    Update the label color and description if label already exists

OPTIONS INHERITED FROM PARENT COMMANDS
     -R, --repo <[HOST/]OWNER/REPO>
	    Select another repository using the [HOST/]OWNER/REPO format

EXIT CODES
     0: Successful execution

     1: Error

     2: Command canceled

     4: Authentication required

     NOTE: Specific commands may have additional exit codes. Refer to  the  com-
     mand's help for more information.

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

SEE ALSO
     gh-label(1)

				    Aug 2026		      GH-LABEL-CREATE(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=gh-label-create&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help