问题描述:

One project of mine stopped showing history or reacting to push events in any way after upgrading to gitlab version 8.3.2 (but it could also be on previous versions as we update frequently).

I'm using a plain gitlab docker installation. Is there a way to let gitlab reload the commit history ?

UPDATE:

This is happening on serval projects not just one, but until now there's no common factor between them apart from having recently enabled CI and being imported from an external git repository.

网友答案:

Finally I got it!

The cause of this behavior was that the git repository was imported with the wrong directory structure.

It was:

repository.git/
 |
 +-> .git/<bare-repo-content>

Instead of just:

repository.git/<bare-repo-content>

The fix was to simply rename and move the bare repo:

mv repository.git/.git tmp.git
rm -rf repository.git
mv tmp.git repository.git
相关阅读:
Top