mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 22:35:28 +02:00
746 B
746 B
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}}