.nh .TH "glab" "1" "Jul 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-repo-update - Update an existing GitLab project or repository. .SH SYNOPSIS \fBglab repo update [path] [flags]\fP .SH DESCRIPTION Change project settings such as the description or default branch, or archive and unarchive the project with \fB--archive\fR\&. .SH OPTIONS \fB--archive\fP[=false] Whether the project should be archived. .PP \fB--defaultBranch\fP="" New default branch for the project. .PP \fB-d\fP, \fB--description\fP="" New description for the project. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX # 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 .EE .SH SEE ALSO \fBglab-repo(1)\fP