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

前端 未结 9 2093
野趣味
野趣味 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

    The above solutions explain clearly what the problem is; when you don't have control over the repo, the best way to submit your code is to create a Fork of the original repo and submit your code to this new repo so later you can push it to the original one.

提交回复
热议问题