When I trying clone repo, I get an error path in console.
The problem only on Windows, on Ubuntu I can clone w/o errors and its ok.
I see that spaces in repo between path __tests and /index.js
How can I clone it?
remote: Enumerating objects: 573, done.
remote: Counting objects: 100% (573/573), done.
remote: Compressing objects: 100% (223/223), done.
remote: Total 124067 (delta 422), reused 416 (delta 338), pack-reused 123494R
Receiving objects: 100% (124067/124067), 26.59 MiB | 4.13 MiB/s, done.
Resolving deltas: 100% (83046/83046), done.
error: invalid path '/server/__tests__ /index.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 :/'
question from:
https://stackoverflow.com/questions/65924101/cant-clone-the-repository-because-of-the-space-in-the-paths 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…