Skip to content

mw gitlab config

Releasev0.35.0 · cfeceb67

Manage key/value strings.

Current respected settings:

  • browser: If unset, uses the default browser. Override with environment variable $BROWSER.
  • check_update: If true, notifies of new versions of glab. Defaults to true. Override with environment variable $GLAB_CHECK_UPDATE.
  • display_hyperlinks: If true, and using a TTY, outputs hyperlinks for issues and merge request lists. Defaults to false.
  • editor: If unset, uses the default editor. Override with environment variable $EDITOR.
  • glab_pager: Your desired pager command to use, such as ‘less -R’.
  • glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are available using glamour.
  • host: If unset, defaults to https://gitlab.wikimedia.org.
  • token: Your GitLab access token. Defaults to environment variables.
  • visual: Takes precedence over ‘editor’. If unset, uses the default editor. Override with environment variable $VISUAL.
-g, --global
Use global config 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
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.