GitLab: You are not allowed to force push code to a protected branch on this project.

remote: GitLab: You are not allowed to force push code to a protected branch on this project.

To  
! [remote rejected] master -> master (pre-receive hook declined)
error:
failed to push some refs to 

 Master分支被保护:

进入项目gitlab 网页版: 设置(setting)-版本库(repo) -- 保护分支(把保护的分支选择 unprotected)

posted on 2019-09-24 16:19  iokde.com  阅读(7701)  评论(0编辑  收藏  举报

导航