Cli/ref/mw gitlab config set

< Cli‎ | ref

mw gitlab config set

edit

Updates configuration with the value of a given key

Synopsis

edit

Update the configuration by setting a key to a value. Use glab config set –global if you want to set a global config. Specifying the –hostname flag also saves in the global config file

mw gitlab config set <key> <value> [flags]

Examples

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

Options

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

Options inherited from parent commands

edit
      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

edit