Skip to content

Persist\tag files from GC #155

Closed as not planned
Closed as not planned
@dmpetrov

Description

@dmpetrov

We probably need a command to keep a subset of files from GC. For example, I had a previous version of my model (branch model_v1) and now I develop a new one (model_v2).

$ git checkout model_v1
$ dvc gc --tag m1 # or dvc gc --persist
$ git checkout model_v2
$ dvc gc --tag m2 # or dvc gc --persist
$ dvc gc --nuke # Remove all cache files (need to be implement) but not persistent.

Q: Do we need tags and can we utilize Git tags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: gcRelated go garbage collectionenhancementEnhances DVCfeature requestRequesting a new featurequestionI have a question?

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions