I’m having issues with dvc after I added a folder to dvc then attempted to remove it. Specifically, I was originally tracking notebooks using get and I decided to see if the experience was better using dvc - in the end I decided to revert back to using git.
I started with dvc add /src/notebooks
and I added the entire folder to dvc. This appears to copy all the files into the cache (renaming each as a hash) and creating a symlink.
I couldn’t find any way of deleting (dvc remove appears to remove stages not files/folders) so to revert the add I removed all the references I could find to /src/notebooks and added back to git
Now every time I checkout files from git, they get replaced with the original symlink to the old file that’s still in the dvc cache
In the end I had to track down each and every symlink and manually remove it from the cache.
What’s the proper way to remove a file/folder from dvc - having it automatically relink files that happen to be the same names as files that used to be tracked causes all sorts of issues? Even adding src/notebooks to .dvcignore didn’t work