My git
client repeatedly fails with the following error after trying to clone the repository for some time.
What could be the issue here?
Note: I have registered my SSH key with the GIT hosting provider
Receiving objects: 13% (1309/10065), 796.00 KiB | 6 KiB/s
fatal: The remote end hung up unexpectedly
I got solution after using below command:
git repack -a -f -d --window=250 --depth=250
The only thing that worked for me was to clone the repo using the HTTPS link instead of the SSH link.
I got the same issue, I fixed this with trial and error method. I changed the core.compression value until it works.
I started with "git config --global core.compression 1" after 3 attempts
"git config --global core.compression 4" worked for me.
Check your internet speed. Also check the following commands:
This worked for me, setting up Googles nameserver because no standard nameserver was specified, followed by restarting networking:
None of the above worked for me, but here's what did: https://stackoverflow.com/a/22317479
The complete error message I'd been receiving was: