Apply suggestions from code review

Thanks @sbrl. Will keep grammatical mistakes to minimum next time :smile

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
Puneetha Pai
2020-07-31 20:33:25 +05:30
committed by Starbeamrainbowlabs
parent c6d6d7618c
commit 91e565ba81
11 changed files with 51 additions and 50 deletions

View File

@@ -1,20 +1,20 @@
# dvc gc
> Remove unused files and directories from cache or remote storage.
> Remove unused files and directories from the cache or remote storage.
> More information: <https://dvc.org/doc/command-reference/gc>.
- Garbage collect from cache, keeping only version referenced by current workspace:
- Garbage collect from the cache, keeping only versions referenced by the current workspace:
`dvc gc --workspace`
- Garbage collect from cache, keeping only version referenced by branch/tags/all_commits:
- Garbage collect from the cache, keeping only versions referenced by branch, tags, and commits:
`dvc gc --all-branches --all-tags --all-commits`
- Garbage collect from cache, including default cloud remote storage (if set):
- Garbage collect from the cache, including the default cloud remote storage (if set):
`dvc gc --all-commits --cloud`
- Garbage collect from cache, including specific cloud remote storage:
- Garbage collect from the cache, including a specific cloud remote storage:
`dvc gc --all-commits --cloud -r {{remote_name}}`