Q:

How to clone a huge repo from git

Repo size : 15GB
Tried cloning :
git clone ssh://user@localhost:29418/Repo
But it fails with :
remote: Counting objects: 983937, done
remote: Finding sources: 100% (983937/983937)
fatal: internal server error248/983937), 1.14 GiB | 991.00 KiB/s
remote: internal server error
fatal: early EOF
fatal: index-pack failed

A:

git clone --depth 1 reponame.git

cd reponame.git

git fetch --unshallow

