gh-config-get - Man Page

Print the value of a given configuration key

Synopsis

gh config get <key> [flags]

Options

-h, --host <string>

Get per-host setting

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.

Example

$ gh config get git_protocol
https

See Also

gh-config(1)

Referenced By

gh-config(1).

Dec 2024 GitHub CLI manual