Dvc.org: error: pathspec 'code'' did not match any file(s) known to git

Created on 29 Apr 2019  路  4Comments  路  Source: iterative/dvc.org

My environment is windows 7 x64,
After I followed the step

    $ mkdir classify
    $ cd classify
    $ git init
    $ wget https://dvc.org/s3/so/code.zip
    $ unzip code.zip -d code && rm -f code.zip
    $ git add code/
    $ git commit -m 'download code'

it showed the error:
error: pathspec 'code'' did not match any file(s) known to git

then I followed the direction from @mroutis using the double quotes
git commit -m "download code"
and it worked after all.

bug doc-content

All 4 comments

@lunasdejavu good catch! Would you mind to fix it? Just click on the "Edit on Github" button, then edit the file (pen button at the top) and create a PR. No need to do anything out of Github :)

I could look look for single quotes in console commands all over the docs...

@lunasdejavu what are you using for terminal under Windows 7? Linux Subsystem?

I could look look for single quotes in console commands all over the docs...

@lunasdejavu what are you using for terminal under Windows 7? Linux Subsystem?

the latest anaconda

I created PR https://github.com/iterative/dvc.org/pull/288 to address this and other instances of the same possible issue, as well as other small updates @shcheklein

Was this page helpful?
0 / 5 - 0 ratings

Related issues

algomaster99 picture algomaster99  路  4Comments

jorgeorpinel picture jorgeorpinel  路  3Comments

jorgeorpinel picture jorgeorpinel  路  3Comments

utkarshsingh99 picture utkarshsingh99  路  3Comments

jorgeorpinel picture jorgeorpinel  路  3Comments