CmdID

CmdID / Commands

dvc-gc

Remove unused files and directories from the cache or remote storage. 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

Garbage collect from the cache, keeping only versions referenced by the current workspace

dvc gc --workspaceIdentify

Garbage collect from the cache, keeping only versions referenced by branch, tags, and commits

dvc gc --all-branches --all-tags --all-commitsIdentify

Garbage collect from the cache, including the default cloud remote storage (if set)

dvc gc --all-commits --cloudIdentify

Garbage collect from the cache, including a specific cloud remote storage

dvc gc --all-commits --cloud --remote remote_nameIdentify