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 clone the repository because of files' names #1

Open
mhdsdt opened this issue Dec 4, 2022 · 0 comments
Open

Cannot clone the repository because of files' names #1

mhdsdt opened this issue Dec 4, 2022 · 0 comments

Comments

@mhdsdt
Copy link

mhdsdt commented Dec 4, 2022

I can't clone the repository because there are '?' and ':' symbols in files' name. Here's the error when cloning the repository:

$ git clone https://github.com/pytopia/ML.git
Cloning into 'ML'...
remote: Enumerating objects: 543, done.
remote: Counting objects: 100% (200/200), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 543 (delta 119), reused 126 (delta 51), pack-reused 343
Receiving objects: 100% (543/543), 17.83 MiB | 113.00 KiB/s, done.
Resolving deltas: 100% (250/250), done.
error: unable to create file Statistics/01. Introduction/01. What is Statistics?.ipynb: Invalid argument
error: unable to create file Statistics/03. Inferential Statistics/03. Hypothesis Testing: The z Test.ipynb: Invalid argument
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 recommend to remove invalid characters in files' name.

@mhdsdt mhdsdt changed the title Cannot clone the repository beacuase of files' names Cannot clone the repository because of files' names Dec 9, 2022
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