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

Cloning fails on Windows due to whitespace in path #81

Open
danbunnell opened this issue Mar 23, 2021 · 2 comments
Open

Cloning fails on Windows due to whitespace in path #81

danbunnell opened this issue Mar 23, 2021 · 2 comments

Comments

@danbunnell
Copy link

Hi,

I was attempting to clone this repository on Windows but checkout fails due to whitespace at the end of a folder name: nodeJSAppExamples/basicArbExample /.gitignore. I have included the full error below.

The temp workaround is to download the ZIP: Windows appears to handle unpacking the ZIP by removing the whitespace silently during the process. However, the workaround does not help to get a local Windows branch in sync with the remote. Manually configuring a remote still throws errors when attempting to checkout.

Can you fix the basicArbExample path for Windows users?

Thanks,
Dan

PS D:\repos> git clone https://github.com/ProofSuite/OrFeed.git
Cloning into 'OrFeed'...
remote: Enumerating objects: 264, done.
remote: Counting objects: 100% (264/264), done.
remote: Compressing objects: 100% (159/159), done.
Receiving objects:  91% (991/1088)used 193 (delta 101), pack-reused 824 eceiving objects:  88% (958/1088)
Receiving objects: 100% (1088/1088), 487.73 KiB | 1.83 MiB/s, done.
Resolving deltas: 100% (612/612), done.
error: invalid path 'nodeJSAppExamples/basicArbExample /.gitignore'
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 :/'
@edd34
Copy link

edd34 commented Mar 31, 2021

Hi, I have pushed a fix for this issue @danbunnell
Please try the solution I have suggested

@danbunnell
Copy link
Author

@edd34 I have confirmed your PR fixes the issue on Windows, thank you!

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

2 participants