提示信息:refs/heads/master, pre-receive hook declined
解決方案:
法1:
重新clone到本地蚌吸。
法2:
1.重新clone→
2.撤銷不是自己的更改(如:DesignTimeResolve……)→
3.提交。
法3:
使用命令推送:git push
$ git push
Counting objects: 8, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 878 bytes | 0 bytes/s, done.
Total 8 (delta 5), reused 0 (delta 0)
remote: GitLab: You are not allowed to push code to this project.
To http://10.0.0.24/root/HemoSystem.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://10.0.0.24/root/HemoSystem.git'
出現(xiàn)提示:You are not allowed to push code to this project.
解決方案:在GitLab后臺添加Pull權(quán)限奕枢。