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

前端 未结 9 2056
野趣味
野趣味 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 15:44

    I experienced the same problem on my repository. I'm the master of the repository, but I had such an error.

    I've unprotected my project and then re-protected again, and the error is gone.

    We had upgraded the gitlab version between my previous push and the problematic one. I suppose that this upgrade has created the bug.

提交回复
热议问题