DVC Garbage Collect - Remove Unused Files | Online Free DevTools by Hexmos
Garbage collect files with DVC and remove unused data from cache and remote storage. Clean up your DVC project efficiently. Free online tool, no registration required.
dvc gc
Remove unused files and directories from the cache or remote storage. More information: https://dvc.org/doc/command-reference/gc.
- 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}}