other versions
- Tumbleweed 2.82.1-1.1
- Leap-16.0
- Leap-15.6
| GH-CONFIG-GET(1) | GitHub CLI manual | GH-CONFIG-GET(1) |
NAME¶
gh-config-get - 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
SEE ALSO¶
| Oct 2025 | GitHub CLI v2.82.1 |