I am unable to git clone a remote repository using plain
git clone path
I get the error "The remote end hung up unexpectedly"
.
The complete msg I get is :
Cloning into 'xyzabc'...
remote: Counting objects: 4328, done.
remote: Compressing objects: 100% (3861/3861), done.
select: Not enough memory2192/4328), 123.71 MiB | 164.00 KiB/s
ffatal: The remote end hung up unexpectedly
atal: early EOF
fatal: index-pack failed
I search online for a solution and after trying every other solution landed on solution of doing :
git clone --depth=1 path
followed by
git fetch --unshallow
Now the clone is completing fully. But, when I try to run git fetch --unshallow to recieve the complete project, I get the error :
fatal: --unshallow on a complete repository does not make sense
I dont know what to do please guide
I too found the same message. Looks like it's not allowing to unshallow a shallow clone. You might want to try.
git fetch --depth=10000
assuming there are 10000 depths in your clone.