CmdID

CmdID / Commands

gh-cache

Manage GitHub Actions caches. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List caches for the current repository

gh cache [lsIdentify

List caches for a specific repository

gh cache [ls --repo owner/repositoryIdentify

List caches with a specific cache key prefix

gh cache [ls --key key_prefixIdentify

List caches for a specific branch

gh cache [ls --ref refs/heads/branch_nameIdentify

List caches sorted by least recently accessed

gh cache [ls --sort last_accessed_at --order ascIdentify

Delete a cache by id

gh cache delete cache_idIdentify

Delete a cache by key

gh cache delete cache_keyIdentify

Delete all caches

gh cache delete --allIdentify