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 push
Counting objects: 32, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (32/32), 2.94 KiB | 0 bytes/s, done.
Total 32 (delta 14), reused 0 (delta 0)
error: The last gc run reported the following. Please correct the root cause
and remove gc.log.
Automatic cleanup will not be performed until the file is removed.
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
To git@git.ad.xxx.se:root/xxx.git
15c3bbb..69e6d8b xxxx -> xxx
I thought it was coming from my computer for a while, until I realize that everybody has the same issues.
Needless to say, there is no gc.log in my .git folder, and using 'git gc' or 'git prune' has no effect.
So my question is : Could it be that the repository hosted on the server is somehow not clean? If so, how to I actually clean it?
All of the solutions I have found so far relate to local copies of repositories.
Also, we use Gitlab to host our repos.
EDIT : It is worth saying that I have since I posted this question also tried "Housecleaning" the repository using Gitlab but with no result so far.