cli/docs/source/config/index.md

1.5 KiB

stage group info
Create Code Review To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments

glab config

Set and get glab settings

Synopsis

Get and set key/value strings.

Current respected settings:

  • token: your GitLab access token, defaults to environment variables
  • host: if unset, defaults to https://gitlab.com
  • browser: if unset, default browser is used. Override with environment variable $BROWSER
  • editor: if unset, default editor is used. Override with environment variable $EDITOR
  • visual: takes precedence over editor. If unset, default editor is used. Override with environment variable $VISUAL
  • glamour_style: your desired Markdown renderer style. Options are dark, light, notty. Custom styles are allowed using glamour
  • glab_pager: your desired pager command to use (e.g. less -R)
  • check_update: if true, notifies of any available updates to glab. Defaults to true
  • display_hyperlinks: if true, and using a TTY, outputs hyperlinks for issues and MR lists. Defaults to false

Aliases

conf

Options

  -g, --global   Use global config file

Options inherited from parent commands

      --help   Show help for command

Subcommands