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

Cannot git clone repository on Windows #5853

Closed
kasecato opened this issue Apr 25, 2024 · 3 comments
Closed

Cannot git clone repository on Windows #5853

kasecato opened this issue Apr 25, 2024 · 3 comments

Comments

@kasecato
Copy link
Contributor

Version

v4.0.0-beta.5

Summary

I can't clone a repository in Git on Windows because there is a space in the folder name.
Ref. #5671

Steps to reproduce the behavior

No response

Logs

# Windows 11, PowerShell 7.4.2
git clone https://github.com/apollographql/apollo-kotlin.git

error: invalid path 'libraries/apollo-runtime/src/appleTest/kotlin/com/apollographql/apollo3/network/http /DefaultHttpEngineTest.kt'
fatal: unable to checkout working tree
@kasecato
Copy link
Contributor Author

I confirmed it on Windows 11

$ git config --global core.longpaths true
$ git clone https://github.com/apollographql/apollo-kotlin.git
Cloning into 'apollo-kotlin'...
remote: Enumerating objects: 402944, done.
remote: Counting objects: 100% (51788/51788), done.
remote: Compressing objects: 100% (9366/9366), done.
remote: Total 402944 (delta 38702), reused 50667 (delta 38186), pack-reused 351156
Receiving objects: 100% (402944/402944), 262.92 MiB | 2.77 MiB/s, done.
Resolving deltas: 100% (280517/280517), done.
Updating files: 100% (6815/6815), done.

Copy link
Contributor

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better.

@martinbonnin
Copy link
Contributor

Nice! Thanks for the follow up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants