There are situations where you want to stop tracking data added previously.
Follow the steps listed here to undo
$ dvc add data.csv $ ls data.csv data.csv.dvc
$ dvc unprotect data.csv
$ dvc remove data.csv.dvc
data.csv is now no longer being tracked by DVC.
$ git status Untracked files: data.csv
You can run
dvc gc with the
-w option to remove the data that isn't
referenced in the current workspace from the cache:
$ dvc gc -w