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

glab config set

Updates configuration with the value of a given key.

Synopsis

Update the configuration by setting a key to a value. Use ‘glab config set –global’ to set a global config. Specifying the ‘–host’ flag also saves in the global configuration file.

glab config set <key> <value> [flags]

Examples

- glab config set editor vim
- glab config set token xxxxx --host gitlab.com
- glab config set check_update false --global

Options

  -g, --global        Write to global '~/.config/glab-cli/config.yml' file rather than the repository's '.git/glab-cli/config.yml' file.
      --host string   Set per-host setting.

Options inherited from parent commands

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