gh config set

使用给定密钥的值更新配置

gh config set <key> <value> [flags]

Options

-h, --host <string>
Set per-host setting

Examples

$ 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

See also