【发布时间】:2017-08-22 10:12:06
【问题描述】:
推送时出现此错误:
remote: GitLab: You are not allowed to push code to protected branches on this project.
! [remote rejected] master -> master (pre-receive hook declined)
我已经在网上检查了这个问题,有人提到通过转到存储库设置来取消保护分支。
我去过那里,它显示了这条消息:
There are currently no protected branches, protect a branch with the form above.
我没有受保护的分支?如果master 分支确实受到保护,那么当没有protected 分支时如何使其成为unprotected。没有可点击的按钮..
有什么办法吗?
编辑:
存储库是一个小组项目,因此默认情况下小组中的每个人都被授予开发人员访问权限。
我希望 Developers 现在能够推送到 master 分支。
那么如何让master分支不受保护呢?
【问题讨论】: