Skip to content

Update command#14

Open
BioGeek wants to merge 1 commit intopeopledoc:masterfrom
BioGeek:patch-2
Open

Update command#14
BioGeek wants to merge 1 commit intopeopledoc:masterfrom
BioGeek:patch-2

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"

Copy link

@alexdashkov alexdashkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found this Pull request by accident, sorry for the delay 😬 . @BioGeek , as you've probably understood this repository is no maintained, so I let you decide if you wish to merge it.
UPD: My write permissions has been removed from this repository, sorry

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.

2 participants