GUI does not show any files in repo, though server has it

Hi, I had just finished setting up gitea. I created a test repo, and pushed it to my server. It is present at /path/to/repos/username/repo.git, but at the front-end, the GUI still shows the initial git commands to push. Any idea what could be the problem? Or how I fix it?

That means your hooks are not right. You can try to fix it to run resync hooks on admin panel.

Okay, all right, thanks!

Even after running “Resynchronize pre-receive, update and post-receive hooks of all repositories.”, it still does not show.