I am trying to configure a cgit instance from which you can click or pull http. However, I can view my repos through http through cgit, but when I try to click on this repo, I get an error:
Fatal, / info / refs is invalid, is this a git repository?
This path exists on the server, and it is an empty file. I created a hook after the update, which automatically performs git update-server-info (post-update.example from the repo). But when I try to view the / info / refs file via http, cgit has an announcement that it is an empty repository.
What can I do to access this file via http so that I can click or pull with the URLs that cgit provides me with?
I have my repositories on a shared hosting provider, so I do not have access to apache.conf, but only to .htaccess files ...
source
share