gitgithubzipgit-clone

How to clone git repository from its zip


I'm trying to clone a remote repository on github, but it is big and my connection doesn't seem to be stable enough, so I can't clone it successfully.

But I have successfully downloaded the .zip of the repository.

Is there a way to use this zip as it was created by git clone, so I can push, pull etc..?


Solution

  • A related post here provides the information needed to grab the .git directory and simplify the answer that umläute provided: