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

glab config edit

Opens the glab configuration file.

Synopsis

Opens the glab configuration file. The command uses the following order when choosing the editor to use:

  1. ‘glab_editor’ field in the configuration file
  2. ‘VISUAL’ environment variable
  3. ‘EDITOR’ environment variable
glab config edit [flags]

Examples

Open the configuration file with the default editor
- glab config edit

Open the configuration file with vim
- EDITOR=vim glab config edit

Set vim to be used for all future 'glab config edit' invocations
- glab config set editor vim
- glab config edit

Open the local configuration file with the default editor
- glab config edit -l

Options

  -l, --local   Open '.git/glab-cli/config.yml' file instead of the global '~/.config/glab-cli/config.yml' file.

Options inherited from parent commands

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