GH-CONFIG(1)
π GH-CONFIG(1) β the gh config glow-up
okay so this is the GitHub CLI manual page for gh-config, and bestie, it's literally the control room for your whole gh setup. sit down, grab a strawberry π, we're gonna go through it together.
β¨ NAME β¨
gh-config β manage configuration for gh π
β¨ SYNOPSIS β¨
gh config <command> [flags]
β¨ DESCRIPTION β¨
So like, this is where you display or change configuration settings for gh. That's the whole vibe. π
Here are the current respected settings β yes, all of them, I would never gatekeep:
api_hostβ experimental: the hostname to use when making API requests for a GitHub host. β οΈ Note: this is not a security boundary, and requests to the canonical host will remain authenticated. so like, don't treat it like a lock, bestie, it is not one.git_protocolβ the protocol to use forgit cloneandgit pushoperations{https | ssh}(defaulthttps)editorβ the text editor program to use for authoring text βοΈpromptβ toggle interactive prompting in the terminal{enabled | disabled}(defaultenabled)prefer_editor_promptβ toggle preference for editor-based interactive prompting in the terminal{enabled | disabled}(defaultdisabled)pagerβ the terminal pager program to send standard output tohttp_unix_socketβ the path to a Unix socket through which to make an HTTP connectionbrowserβ the web browser to use for opening URLs πclipboardβ whether to copy one-time OAuth device codes to the clipboard{enabled | disabled}(defaultenabled)color_labelsβ whether to display labels using their RGB hex color codes in terminals that support truecolor{enabled | disabled}(defaultdisabled) β this one is giving aesthetic, ngl πaccessible_colorsβ whether customizable, 4-bit accessible colors should be used{enabled | disabled}(defaultdisabled)accessible_prompterβ whether an accessible prompter should be used{enabled | disabled}(defaultdisabled)spinnerβ whether to use an animated spinner as a progress indicator{enabled | disabled}(defaultenabled) πtelemetryβ whether telemetry is enabled, disabled, or logging{enabled | disabled | log}(defaultenabled)
πΈ AVAILABLE COMMANDS πΈ
gh-config-clear-cache(1)β clear the cli cache π§Ήgh-config-get(1)β print the value of a given configuration keygh-config-list(1)β print a list of configuration keys and valuesgh-config-set(1)β update configuration with a value for the given key
π EXIT CODES π
like, when the command dips out, here's what the number means:
0: successful execution β slay β¨1: error β it's giving β¨problemsβ¨2: command canceled4: authentication required π
NOTE: specific commands may have additional exit codes. refer to the command's help for more information, iykyk.
π¦ SEE ALSO π¦
gh(1)β the main character, fr fr π
and that's the page, bestie, you ate that π
mwah π β this was the GitHub CLI manual, version v2.102.0, dated Oct 2026. periodt.
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms