gh config list -h github.com

Category: GitHub CLI

gh config list -h github.com

Show config for a specific host

Lists resolved gh settings, with -h github.com filtering to that host's overrides. The output shows keys like git_protocol, editor, and prompt. Use it to debug why a command behaves differently on one host.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.