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 failed on windows #189

Open
kuzmany opened this issue Jul 28, 2023 · 1 comment
Open

Cloning failed on windows #189

kuzmany opened this issue Jul 28, 2023 · 1 comment
Labels
Mautic 5 Mautic 5 features and updates

Comments

@kuzmany
Copy link
Member

kuzmany commented Jul 28, 2023

With the error:

Cloning into 'C:\xxx\www\user-documentation'...
remote: Enumerating objects: 9244, done.        
remote: Counting objects: 100% (1037/1037), done.        
remote: Compressing objects: 100% (457/457), done.        
remote: Total 9244 (delta 568), reused 931 (delta 513), pack-reused 8207        
Receiving objects: 100% (9244/9244), 20.44 MiB | 24.31 MiB/s, done.
Resolving deltas: 100% (5673/5673), done.
error: invalid path '.readthedocs.yaml '
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 :/'

Here's how you can try to solve it:

Manual renaming
Go to the repository on your GitHub (or wherever it's hosted), find the offending file and rename it (remove the space in your case).
Then clone the repository again.

@kuzmany
Copy link
Member Author

kuzmany commented Jul 28, 2023

Fixed with

git config --global core.protectNTFS false

@fakela fakela added the Mautic 5 Mautic 5 features and updates label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mautic 5 Mautic 5 features and updates
Projects
None yet
Development

No branches or pull requests

2 participants