Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update command #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update command #14

wants to merge 1 commit into from

Conversation

BioGeek
Copy link
Contributor

@BioGeek BioGeek commented Aug 27, 2020

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.

Upon `dvc init`, a `.dvc` folder is created but no files with extension `*.dvc`.
Currently running the command gives the error:

    fatal: pathspec '*.dvc' did not match any files

I also added the `.mlvtools` file that is created by the `make dummy-conf` step.
@BioGeek
Copy link
Contributor Author

BioGeek commented Aug 27, 2020

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.

@BioGeek
Copy link
Contributor Author

BioGeek commented Aug 27, 2020

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant