原文: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 gt master pre receive hook declined error: failed to push some refs to Master分支被 ...

2019-09-24 16:19 0 5192 推荐指数:

查看详情

git合并分支成功,但是push失败(remote: GitLab: You are not allowed to push code to protected branches on this project.)

紧急修复修改代码之后需要合并分支到master分支并push到线上,但是merge成功,push却失败了,报错如下: 经过分析查证发现是自己没有合并代码的权限导致的,所以接下来就是修改权限就可以了。 一般我们作为developer,是没有master权限的,只有master才有 ...

Tue May 08 23:10:00 CST 2018 0 41935
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM