正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab repo update

Update an existing GitLab project or repository.

glab repo update [path] [flags]

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

Options

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

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