.nh .TH "GH-CONFIG-SET" "1" "Mar 2024" "" "GitHub CLI manual" .SH NAME .PP gh-config-set - Update configuration with a value for the given key .SH SYNOPSIS .PP \fBgh config set [flags]\fR .SH OPTIONS .TP \fB-h\fR, \fB--host\fR \fB\fR Set per-host setting .SH EXAMPLE .EX $ gh config set editor vim $ gh config set editor "code --wait" $ gh config set git_protocol ssh --host github.com $ gh config set prompt disabled .EE .SH SEE ALSO .PP \fBgh-config(1)\fR