gh config set

Update configuration with a value for the given key

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

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

Options

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

Options inherited from parent commands

      --help   Show help for command