GLabGLab

glab repo update

Update an existing GitLab project or repository.

Terminal
glab repo update [path] [flags]

## Examples

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

## Options

Terminal
      --archive                Whether the project should be archived.
      --defaultBranch string   New default branch for the project.
  -d, --description string     New description for the project.

## Options inherited from parent commands

Terminal
  -h, --help   Show help for this command.