.nh .TH "glab" "1" "Dec 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-config-set - Updates configuration with the value of a given key. .SH SYNOPSIS .PP \fBglab config set [flags]\fP .SH DESCRIPTION .PP Update the configuration by setting a key to a value. Use 'glab config set --global' to set a global config. Specifying the '--hostname' flag also saves in the global configuration file. .SH OPTIONS .PP \fB-g\fP, \fB--global\fP[=false] Write to global '~/.config/glab-cli/config.yml' file rather than the repository's '.git/glab-cli/config.yml' file. .PP \fB-h\fP, \fB--host\fP="" Set per-host setting. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX glab config set editor vim glab config set token xxxxx -h gitlab.com glab config set check_update false --global .EE .SH SEE ALSO .PP \fBglab-config(1)\fP