1GH-LABEL-EDIT(1)               GitHub CLI manual              GH-LABEL-EDIT(1)
2
3
4

NAME

6       gh-label-edit - Edit a label
7
8
9

SYNOPSIS

11       gh label edit <name> [flags]
12
13
14

DESCRIPTION

16       Update a label on GitHub.
17
18
19       A label can be renamed using the --name flag.
20
21
22       The label color needs to be 6 character hex value.
23
24
25

OPTIONS

27       -c, --color <string>
28              Color of the label
29
30
31       -d, --description <string>
32              Description of the label
33
34
35       -n, --name <string>
36              New name of the label
37
38
39

OPTIONS INHERITED FROM PARENT COMMANDS

41       -R, --repo <[HOST/]OWNER/REPO>
42              Select another repository using the [HOST/]OWNER/REPO format
43
44
45

EXAMPLE

47              # update the color of the bug label
48              $ gh label edit bug --color FF0000
49
50              # rename and edit the description of the bug label
51              $ gh label edit bug --name big-bug --description "Bigger than normal bug"
52
53
54
55
56

SEE ALSO

58       gh-label(1)
59
60
61
62                                   Oct 2023                   GH-LABEL-EDIT(1)
Impressum