I’m new to Gitea and I’m testing whether it can be used as an on-premise repo for projects in our organisation.
It loads, it runs, it looks great.
However, after creating a repo, any attempt at pushing to it, even with a new project with only a README.md, it yields the following:
$ git push -u origin master Enumerating objects: 6, done. Counting objects: 100% (6/6), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (6/6), 499 bytes | 166.00 KiB/s, done. Total 6 (delta 0), reused 0 (delta 0) To http://devsvr:3000/username/something.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'http://devsvr:3000/username/something.git'
Researching this error has revealed that it may be a configuration or script issue. However, I’m not sure how to resolve this issue.
Any help and advice in resolving this issue is most welcome.