DVC: add page including sub-commands freeze, unfreeze and gc
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
ca9b1f104e
commit
c96d68ed62
20
pages/common/dvc-gc.md
Normal file
20
pages/common/dvc-gc.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# dvc gc
|
||||
|
||||
> Remove unused files and directories from cache or remote storage.
|
||||
> More information: <https://dvc.org/doc/command-reference/gc>.
|
||||
|
||||
- Garbage collect from cache, keeping only version referenced by current workspace:
|
||||
|
||||
`dvc gc --workspace`
|
||||
|
||||
- Garbage collect from cache, keeping only version referenced by branch/tags/all_commits:
|
||||
|
||||
`dvc gc --all-branches --all-tags --all-commits`
|
||||
|
||||
- Garbage collect from cache, including default cloud remote storage (if set):
|
||||
|
||||
`dvc gc --all-commits --cloud`
|
||||
|
||||
- Garbage collect from cache, including specific cloud remote storage:
|
||||
|
||||
`dvc gc --all-commits --cloud -r {{remote_name}}`
|
Reference in New Issue
Block a user