glab(1)

πŸ’… NAME β€” glab-repo-update from the glab(1) manual πŸ’…

It’s giving update an existing GitLab project or repository. You are literally in the right place, bestie πŸ’–


✨ SYNOPSIS ✨

glab repo update [path] [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Change project settings like the description or default branch, or archive and unarchive the project with --archive. Lowkey iconic repo-maintenance energy πŸŽ€

🌸 OPTIONS 🌸

  • --archive[=false] β€” whether the project should be archived. The archive/unarchive switch, periodt πŸ’…
  • --defaultBranch="" β€” new default branch for the project. Yep, the empty "" is right there in the option ✨
  • -d, --description="" β€” new description for the project.

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

  • -h, --help[=false] β€” show help for this command.

πŸ”₯ EXAMPLE πŸ”₯

# Update the description for my-project.
glab repo update my-project --description "This project is cool."

# Update the default branch for my-project.
glab repo update my-project --defaultBranch main

# Archive my-project.
glab repo update my-project --archive
glab repo update my-project --archive=true

# Unarchive my-project.
glab repo update my-project --archive=false

🌈 SEE ALSO 🌈


Okay that’s the whole page! This one was auto generated by spf13/cobra, dated Nov 2026, and it belongs to the glab(1) manual. Bye bestie 🫢✨

πŸ“¦ where this page comes from