glab(1)

πŸ’… glab-label-edit β€” NAME ✨

okay so bestie, this is the glab(1) manual page for glab-label-edit β€” aka the glow-up button for a label in your project. she edits an existing label, that's her whole thing πŸŽ€


🌸 SYNOPSIS

glab label edit [flags]

πŸ¦‹ DESCRIPTION

so you've got a label in a project and it's giving ✨not it✨ β€” time to edit it, no cap. This command edits an existing label in a project.

here's the vibe check on the flags, listen up πŸ‘‘:

  • the --label-id flag is required β€” that's how we know which label we're updating, iykyk
  • you need at least one of --new-name or --color β€” you gotta actually change something, bestie, otherwise what are we even doing 😭
  • --description and --priority are optional, sprinkle them in if you want

by default the label gets edited in the current repository (main character energy: staying home). use --repo to target another project instead 🫢


πŸ’– OPTIONS

  • -c, --color="" β€” the color of the label, given in 6-digit hex notation with a leading # sign. so like "#FF0000", not vibes-based color naming πŸ™ˆ
  • -d, --description="" β€” the label description. words! about your label!
  • -l, --label-id=0 β€” the label ID we are updating. this is the one, literally required, don't forget her πŸ’€
  • -n, --new-name="" β€” the new name of the label. rebranding era 🌈
  • -p, --priority=0 β€” the label priority. how important is she? scale of your choosing ✨

🧚 OPTIONS INHERITED FROM PARENT COMMANDS

  • -h, --help[=false] β€” show help for this command. the classic "wait how does this work again" button 🫢
  • -R, --repo="" β€” select another repository. you can use either OWNER/REPO or GROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted β€” so flexible, obsessed πŸ’…

⭐ EXAMPLE

# Rename a label in the current repository
glab label edit --label-id 1234 --new-name critical

# Change a label's color and description in another project
glab label edit --label-id 1234 --color "#FF0000" --description "Top priority" -R owner/repo

πŸ”₯ SEE ALSO

  • glab-label(1) β€” the rest of the label squad, go say hi πŸ¦‹

also a lil PSA bestie: --label-id is non-negotiable and you need at least one of --new-name / --color. like, that's the whole assignment. don't show up empty-handed πŸ’€

auto-generated by spf13/cobra, dated Nov 2026, and this page belongs to the glab manual** ✨** β€” mwah, hope that helped, go slay your labels πŸ‘‘πŸ’–

πŸ“¦ where this page comes from