gh-config - Man Page

Manage configuration for gh

Examples (TL;DR)

Synopsis

gh config <command> [flags]

Description

Display or change configuration settings for gh.

Current respected settings:

Available Commands

gh-config-clear-cache(1)

Clear the cli cache

gh-config-get(1)

Print the value of a given configuration key

gh-config-list(1)

Print a list of configuration keys and values

gh-config-set(1)

Update configuration with a value for the given key

Exit Codes

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

See Also

gh(1)

Referenced By

gh(1), gh-config-clear-cache(1), gh-config-get(1), gh-config-list(1), gh-config-set(1).

Mar 2025 GitHub CLI manual