gh-config-set - Man Page

Update configuration with a value for the given key

Synopsis

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

Options

-h, --host <string>

Set per-host setting

Example

$ 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

gh-config(1)

Referenced By

gh-config(1).

Jul 2024 GitHub CLI manual