GH-CONFIG-CLEAR-CACHE(1)
β¨ gh-config-clear-cache(1) β¨
okay so real talk, this is a page from the GitHub CLI manual, and today's main character is gh-config-clear-cache π
it lives in the gh-config family and it literally just... clears the cli cache. that's the whole vibe. no cap.
πΈ NAME πΈ
gh-config-clear-cache β clear the cli cache π§Ήβ¨
like, that's it. that's the job. it takes the cli cache and goes poof π«Ά
π¦ SYNOPSIS π¦
gh config clear-cache [flags]
so you run gh config clear-cache and it does the thing. the [flags] bit is just sitting there being all cute and optional, iykyk π
π EXIT CODES π
ngl, these are important, bestie β this is how you know what just happened π
0β Successful execution β¨ everything slayed, nothing to worry about1β Error π something went sideways2β Command canceled π you (or the universe) hit the brakes4β Authentication required π you gotta prove who you are first
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. π like, don't come for me if a different command has extra codes β check its help, fr fr.
π EXAMPLE π
# Clear the cli cache
$ gh config clear-cache
see? iconic. one line, cache gone, serotonin delivered πΈπ¦
π SEE ALSO π
gh-config(1)β the whole config gang is over here, go say hi π
GitHub CLI v2.102.0 π Oct 2026 π and that's the whole page, bestie β go forth and clear that cache ππ β¨
π¦ 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