Options (6)
-w, --workspacebooleanGarbage collect from the cache, keeping only versions referenced by the current workspace
dvc gc {{[-w|--workspace]}}-a, --all-branchesbooleanGarbage collect from the cache, keeping only versions referenced by branch, tags, and commits
dvc gc {{[-a|--all-branches]}} {{[-T|--all-tags]}} {{[-a|--all-commits]}}-T, --all-tagsbooleanGarbage collect from the cache, keeping only versions referenced by branch, tags, and commits
dvc gc {{[-a|--all-branches]}} {{[-T|--all-tags]}} {{[-a|--all-commits]}}-a, --all-commitsbooleanGarbage collect from the cache, keeping only versions referenced by branch, tags, and commits
dvc gc {{[-a|--all-branches]}} {{[-T|--all-tags]}} {{[-a|--all-commits]}}-c, --cloudbooleanGarbage collect from the cache, including the default cloud remote storage (if set)
dvc gc {{[-a|--all-commits]}} {{[-c|--cloud]}}-r, --remotebooleanGarbage collect from the cache, including a specific cloud remote storage
dvc gc {{[-a|--all-commits]}} {{[-c|--cloud]}} {{[-r|--remote]}} {{remote_name}}Examples (4)
Garbage collect from the cache, keeping only versions referenced by the current workspace
dvc gc [-w|--workspace]Garbage collect from the cache, keeping only versions referenced by branch, tags, and commits
dvc gc [-a|--all-branches] [-T|--all-tags] [-a|--all-commits]Garbage collect from the cache, including the default cloud remote storage (if set)
dvc gc [-a|--all-commits] [-c|--cloud]Garbage collect from the cache, including a specific cloud remote storage
dvc gc [-a|--all-commits] [-c|--cloud] [-r|--remote] remote_name