本文翻译自:Fix GitLab error: “you are not allowed to push code to protected branches on this project”?
I have a problem when I push my codes to git while I have developer access in my project, but everything is okay when I have master access. 当我在我的项目中有开发人员访问权限时将代码推送到git时出现问题,但是当我有主访问权限时一切正常。 Where is the problem come from? 问题出在哪里? And how to fix it? 以及如何解决它?
Error message: 错误信息:
error: You are not allowed to push code to protected branches on this project. 错误:您不允许将代码推送到此项目的受保护分支。
... ...
error: failed to push some refs to ... 错误:无法推送一些参考...
#1楼
参考:https://stackoom.com/question/2biMT/修复GitLab错误-您不允许将代码推送到此项目的受保护分支
#2楼
there's no problem - everything works as expected. 没有问题 - 一切都按预期工作。
In GitLab some b