.nh .TH "glab" "1" "Jun 2025" "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 Update an existing GitLab project or repository. .SH OPTIONS \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--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 .EE .SH SEE ALSO \fBglab-repo(1)\fP