Fix GitLab error: “you are not allowed to push code to protected branches on this project”?

前端 未结 9 2076
野趣味
野趣味 2020-11-29 15:04

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. Where is the problem come from? A

9条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-29 16:02

    for the GitLab Enterprise Edition 9.3.0

    By default, master branch is protected so unprotect :)

    1-Select you "project"

    2-Select "Repository"

    3-Select "branches"

    4-Select "Project Settings"

    5-In "Protected Branches" click to "expand"

    6-and after click in "unprotect" button

提交回复
热议问题