GH-CONFIG-SET(1) GitHub CLI manual GH-CONFIG-SET(1) (NAME) gh-config-set - (SYNOPSIS) gh config set [flags] (OPTIONS) -h, --host (EXIT CODES) 0: 1: 2: 4: : . . (EXAMPLE) $ gh config set editor vim $ gh config set editor "code --wait" $ gh config set git_protocol ssh --host github.com $ gh config set api_host api-gateway.example.com --host example.com $ gh config set prompt disabled (SEE ALSO) gh-config(1) Sep 2026 GH-CONFIG-SET(1)