gitlab You are not allowed to push code to protected branches on this project.

  • gitlab You are not allowed to push code to protected branches on this project.提交是报这个是因为没有权限。
  • 解决方案一:把帐号设置为admin管理员。
  • 解决方法二: 到目标仓库 Settings -> Repository -> 展开Protected Branches ,修改Allowed to merge Allowed to push这两栏权限(之前默认只有维护人员有权限,而我刚好赋予的是开发人员,所有没权限),见下面图片。
    在这里插入图片描述

posted on 2019-02-21 22:23  愤怒的苹果ext  阅读(622)  评论(0编辑  收藏  举报

导航