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

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

Open
JaviBecerra opened this issue Jul 6, 2020 · 0 comments

Comments

@JaviBecerra
Copy link

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'

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

No branches or pull requests

1 participant