gitlab中,developer无法推送到master分支的设定方法
remote: GitLab: You are not allowed to push code to protected branches on this project
·
在开发中使用gitlab向master分支推送时,经常会出现如下的错误提示
remote: GitLab: You are not allowed to push code to protected branches on this project
为了解决这个问题,需要在gitlab中进行一下设置,具体设置方法如下:
这里只是介绍功能性的设置,在实际开发中尽量让developer在开发分支开发,不要动master分支。
更多推荐
所有评论(0)