Garbage collect from the cache, including a specific cloud remote storage

dvc gc

  • Remove unused files and directories from the cache or remote storage.
    More information: <https://dvc.org/doc/command-reference/gc>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

dvc gc --all-commits --cloud --remote {{remote_name}}

click the source code to copy