报错提示:remote: GitLab: You are not allowed to push code to protected branches on this project.

报错截图:

解决gitlab push代码报错_gitlab

解决方案:

1、设置-仓库

解决gitlab push代码报错_gitlab_02

2、点击 解除保护

解决gitlab push代码报错_gitlab_03