I am trying to clone a git repo which was more than 1.5 gb due to many branches. So the cloning was terminating repeatedly. The total objects are:
remote: Enumerating objects: 75566, done.
remote: Counting objects: 100% (75566/75566), done.
remote: Compressing objects: 100% (42818/42818), done.
Receiving objects: 3% (2267/75566), 1.91 MiB | 297.00 KiB/s
So I have deleted most of the old branches of no uses. So it reduces the size:
remote: Enumerating objects: 3826, done.
remote: Counting objects: 100% (3826/3826), done.
remote: Compressing objects: 100% (392/392), done.
Receiving objects: 4% (3703/75566), 1.99 MiB | 280.00 KiB/s
You can see the counting objects has been reduced but still it receiving objects is 75566. Why is that so. If it is due to cache then how can I clear that.
Also please note git rm -r --cached .
is not working as I am clonning outside of any project and there is no .git
folder
Thank you