Scroll to navigation

GH-CONFIG-SET(1) GitHub CLI manual GH-CONFIG-SET(1)

NAME

gh-config-set - Update configuration with a value for the given key

SYNOPSIS

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

OPTIONS

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)

Apr 2024 GitHub CLI v2.48.0