Not long ago, we have made the switch from SVN to Git.
A few days ago, I realized that all of our team gets those messages when they push :
$ git p
I face same issue and above solution did not solve my problem. I was getting the same issue that says :
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
I have refer this link and run the following command it got resolved : git gc
eg : /xx/code/home/xx
is my git repositry home path.
(base) laxman@xxxxx:/xx/code/home/xx$ git gc
Counting objects: 251571, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (78004/78004), done.
Writing objects: 100% (251571/251571), done.
Total 251571 (delta 141562), reused 245636 (delta 137343)
Hope it will work for some others as well.