glab-repo-update - Man Page

Update an existing GitLab project or repository.

Synopsis

glab repo update [path] [flags]

Description

Update an existing GitLab project or repository.

Options

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

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

Options Inherited from Parent Commands

--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

See Also

glab-repo(1)

Referenced By

glab-repo(1).

Jul 2025 Auto generated by spf13/cobra