add new chinese translations
This commit is contained in:
20
pages.zh/common/dvc-gc.md
Normal file
20
pages.zh/common/dvc-gc.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# dvc gc
|
||||
|
||||
> 从缓存或远程存储中删除未使用的文件和目录。
|
||||
> 更多信息:<https://dvc.org/doc/command-reference/gc>。
|
||||
|
||||
- 从缓存中进行垃圾回收,仅保留当前工作区引用的版本:
|
||||
|
||||
`dvc gc --workspace`
|
||||
|
||||
- 从缓存中进行垃圾回收,仅保留由分支、标签和提交引用的版本:
|
||||
|
||||
`dvc gc --all-branches --all-tags --all-commits`
|
||||
|
||||
- 从缓存中进行垃圾回收,包括默认的云远程存储(如果设置了的话):
|
||||
|
||||
`dvc gc --all-commits --cloud`
|
||||
|
||||
- 从缓存中进行垃圾回收,包括特定的云远程存储:
|
||||
|
||||
`dvc gc --all-commits --cloud --remote {{remote_name}}`
|
Reference in New Issue
Block a user