mlvtools-tutorial
mlvtools-tutorial copied to clipboard
Update command
Currently running the command git add ./dummy *.dvc gives the error:
fatal: pathspec '*.dvc' did not match any files
because upon dvc init, a .dvc folder is created but not any files with extension *.dvc.
I also added the .mlvtools file that is created by the make dummy-conf step.
Also, after you do dvc add ./dummy/data/dummy_pipeline_feed.txt you get the error:
Adding...
ERROR: output 'dummy/data/dummy_pipeline_feed.txt' is already tracked by SCM (e.g. Git).
You can remove it from Git, then add to DVC.
To stop tracking from Git:
git rm -r --cached 'dummy/data/dummy_pipeline_feed.txt'
git commit -m "stop tracking dummy/data/dummy_pipeline_feed.txt"
Because with git add ./dummy you added the dummy_pipeline_feed.txt file as well.
After having followed the steps to stop Git from tracking dummy_pipeline_feed.txt and rerunning dvc add ./dummy/data/dummy_pipeline_feed.txt, I also did the following to track the dvc metadata.
git add dummy/data/dummy_pipeline_feed.txt.dvc dummy/data/.gitignore
git commit -m "Add raw data"