.nh .TH "glab" "1" "Apr 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 if you want to set a global config. Specifying the --hostname flag also saves in the global config file .SH OPTIONS .PP \fB-g\fP, \fB--global\fP[=false] Write to global ~/.config/glab-cli/config.yml file rather than the repository .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 command .SH EXAMPLE .PP .RS .nf glab config set editor vim glab config set token xxxxx -h gitlab.com glab config set check_update false --global .fi .RE .SH SEE ALSO .PP \fBglab-config(1)\fP