Skip to content

Repository clone with git fails on checkout due to file 'src/setupTests.js ' on windows #9

@JaviBecerra

Description

@JaviBecerra

Cloning the repository on windows fails on checkout, apparently due to a filename (src/setupTests.js ') with a trailing white space:

$ git clone https://github.com/vanila-io/wireflow2.git

Git output:

Cloning into 'wireflow2'...
remote: Enumerating objects: 713, done.
remote: Counting objects: 100% (713/713), done.
remote: Compressing objects: 100% (387/387), done.
remote: Total 713 (delta 332), reused 613 (delta 244), pack-reused 0
Receiving objects: 100% (713/713), 789.16 KiB | 2.03 MiB/s, done.
Resolving deltas: 100% (332/332), done.
error: invalid path 'src/setupTests.js '
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I could workaround the issue downloading the code from github as a zip file, extracting with 7z and renaming file 'src/setupTests.js_' to 'src/setupTests.js'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions