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 for git clone and git push operations {https | ssh} (default https)
  • editor β€” the text editor program to use for authoring text ✍️
  • prompt β€” toggle interactive prompting in the terminal {enabled | disabled} (default enabled)
  • prefer_editor_prompt β€” toggle preference for editor-based interactive prompting in the terminal {enabled | disabled} (default disabled)
  • pager β€” the terminal pager program to send standard output to
  • http_unix_socket β€” the path to a Unix socket through which to make an HTTP connection
  • browser β€” the web browser to use for opening URLs 🌐
  • clipboard β€” whether to copy one-time OAuth device codes to the clipboard {enabled | disabled} (default enabled)
  • color_labels β€” whether to display labels using their RGB hex color codes in terminals that support truecolor {enabled | disabled} (default disabled) β€” this one is giving aesthetic, ngl 🌈
  • accessible_colors β€” whether customizable, 4-bit accessible colors should be used {enabled | disabled} (default disabled)
  • accessible_prompter β€” whether an accessible prompter should be used {enabled | disabled} (default disabled)
  • spinner β€” whether to use an animated spinner as a progress indicator {enabled | disabled} (default enabled) πŸŒ€
  • telemetry β€” whether telemetry is enabled, disabled, or logging {enabled | disabled | log} (default enabled)

🌸 AVAILABLE COMMANDS 🌸

🌟 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 canceled
  • 4: 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