Skip to content

mw gitlab config edit

Releasev0.35.0 · cfeceb67

mw gitlab config edit [flags]

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
-l, --local
Open '.git/glab-cli/config.yml' file instead of the global '~/.config/glab-cli/config.yml' file.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
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
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.