昨天我在我的服务器上安装了 GitLab 社区版。安装很顺利,但是当我们将数据或文件推送到 GitLab 服务器时会出现此错误:
Password for 'http://naman550.dx@gmail.com@112.196.23.228':
Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (6/6), 431 bytes | 0 bytes/s, done.
Total 6 (delta 0), reused 0 (delta 0)
remote: GitLab: API is not accessible
To http://112.196.23.228/Naman/mt-test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://112.196.23.228/Naman/mt-test.git'