glab(1) glab(1)

glab-repo-update - Update an existing GitLab project or repository.

glab repo update [path] [flags]

Update an existing GitLab project or repository.

--defaultBranch="" New default branch for the project.

-d, --description="" New description for the project.

--help[=false] Show help for this command.

# 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

glab-repo(1)

Jun 2025 Auto generated by spf13/cobra