代码提交报错

代码commit后,点击push出错

报错信息如下:

git.exe push --progress "origin" master:master

Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (9/9), 1.43 KiB | 0 bytes/s, done.
Total 9 (delta 2), reused 0 (delta 0)
remote: GitLab: You are not allowed to push code to protected branches on this project.
To http://git-server.chinaeast.cloudapp.chinacloudapi.cn/qa-1course/Test1Course.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://git-server.chinaeast.cloudapp.chinacloudapi.cn/qa-1course/Test1Course.git'


git did not exit cleanly (exit code 1) (1139 ms @ 2017/11/27 16:56:48)

原文地址:https://www.cnblogs.com/dieyaxianju/p/7905007.html