GH-LABEL-EDIT(1)
π gh-label-edit(1) β the GitHub CLI manual, bestie edition
ok so real talk, this is gh-label-edit(1) from the GitHub CLI manual, and it's literally the glow-up page for your repo labels. let's get into it β¨
β¨ NAME β¨
gh-label-edit β edit a label π·οΈ
π¦ SYNOPSIS π¦
gh label edit <name> [flags]
that's it. that's the whole vibe. <name> is the label you're about to make over π
πΈ DESCRIPTION πΈ
Update a label on GitHub. no cap, that's the entire job description π₯
A label can be renamed using the --name flag. yes bestie, you can fully rebrand π
The label color needs to be 6 character hex value. six characters, hex, that's the rule β don't come at it with red or a three-digit shortcut, it's giving rules-are-rules π
π OPTIONS π
-c,--color <string>β Color of the label π-d,--description <string>β Description of the label π-n,--name <string>β New name of the label β¨ (this is the rename one, icon behavior)
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
-R,--repo <[HOST/]OWNER/REPO>β Select another repository using the[HOST/]OWNER/REPOformat π«Ά (yes, the[HOST/]part is optional, it's flexible like that)
π EXIT CODES π
0: Successful execution π (slay)1: Error π2: Command canceled π4: Authentication required π (go log in bestie)
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
π EXAMPLE π
ok these are the actual moves, copy them exactly, no edits:
# 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"
the first one is a color-only glow-up π
the second one renames bug to big-bug and rewrites the description in the same breath β main character energy fr fr π₯
β SEE ALSO β
gh-label(1)β the whole label fam, go say hi π«Ά
and that's the page!! π brought to you by GitHub CLI v2.102.0, dated Oct 2026, and this lil manpage right here is GH-LABEL-EDIT(1) β mwah, go edit some labels bestie πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms