glab-repo-update1
Update an existing gitlab project or repository.
Usage
glab repo
update
[path]
[flags]
Overview
Change project settings such as the description or default branch, or archive and unarchive the project with --archive.
Options
--archive[=false]
Whether the project should be archived.
--defaultBranch=""
New default branch for the project.
-d, --description=""
New description for the project.
Options inherited from parent commands
-h, --help[=false]
Show help for this command.
Examples
# 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