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
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms