remote: GitLab:You are not allowed to push code to protected branches on this project

Posted 超凡脫俗

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了remote: GitLab:You are not allowed to push code to protected branches on this project相关的知识,希望对你有一定的参考价值。

报错截图:

不允许将代码推送到受保护的分支此项目

查看原因:

该分支是master是受保护分支,无论是master还是开发者都无权限push,只有owner可以操作。

以上是关于remote: GitLab:You are not allowed to push code to protected branches on this project的主要内容,如果未能解决你的问题,请参考以下文章