iesahin / xvc

A robust (🐢) and fast (🐇) MLOps tool for managing data and pipelines in Rust (🦀)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`xvc file untrack`

iesahin opened this issue · comments

Deletes the file and all related content in the cache.

--from-workspace: Removes the workspace copy, but don't touch cache.
--from-cache: Removes the cache version, but don't touch workspace
--all-versions: Removes all versions of the file from cache.
--from-storage STORAGE: Removes the file from storage.

Without any options, it doesn't do anything, or shows where the file resides, like --dry-run.

It's also possible to add these two options:

--untrack: Remove all tracking metadata from stores and remove it from .gitignore (or add as a whitelist command)
--ignore: With --untrack, also add to the file to .xvcignore.

I think renaming this to untrack may be better, as the user's purpose may not be deleting the file. Deleting the file is an option, but the user's intention may not be to delete it.