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

Invalid zipped folder #18

Open
kani-01 opened this issue Mar 3, 2020 · 9 comments
Open

Invalid zipped folder #18

kani-01 opened this issue Mar 3, 2020 · 9 comments

Comments

@kani-01
Copy link

kani-01 commented Mar 3, 2020

When I try to download the zipped folder from Github and Extract files -> It gives invalid file Error

@simandebvu
Copy link

  1. Try git clone
  2. If that fails, redownload and use different zipping software
  3. Check antivirus

@dheerajsharma14
Copy link

I tried different things. It does not work for me. Were you able to download them?

I tried git clone too. It fails with fatal error.

@simandebvu
Copy link

Can you share the picture/ logs with the error?

@dheerajsharma14
Copy link

Can you share the picture/ logs with the error?

This is what comes in git clone
image

This is what comes when download the zip and try to open it
image

@simandebvu
Copy link

A few things to try 🔢

  • git config --system core.longpaths true
  • fork and rename the repo (without the dashes)
  • git checkout -f HEAD

@sharpk1
Copy link

sharpk1 commented Mar 2, 2021

A few things to try 🔢

  • git config --system core.longpaths true
  • fork and rename the repo (without the dashes)
  • git checkout -f HEAD

What do you mean by fork and rename the repo?

I tried git config --system core.longpaths true and then git clone https://github.com/jmportilla/Python-for-Algorithms--Data-Structures--and-Interviews.git with and without dashes -- still does not work.

@sudoneoox
Copy link

none worked for me

@sudoneoox
Copy link

nevermind I got it to work I just did it in the cmd with admin privileges and had to cd into the folder then used git checkout -f HEAD and that seemed to work for some reason the VS Code terminal was giving me issues

@simandebvu
Copy link

@sharpk1 have you tried also following @sudoneoox method?

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

5 participants