修复GitLab错误:“您不允许将代码推送到此项目的受保护分支”?

本文翻译自:Fix GitLab error: “you are not allowed to push code to protected branches on this project”?

I have a problem when I push my codes to git while I have developer access in my project, but everything is okay when I have master access. 当我在我的项目中有开发人员访问权限时将代码推送到git时出现问题,但是当我有主访问权限时一切正常。 Where is the problem come from? 问题出在哪里? And how to fix it? 以及如何解决它?

Error message: 错误信息:

error: You are not allowed to push code to protected branches on this project. 错误:您不允许将代码推送到此项目的受保护分支。
... ...
error: failed to push some refs to ... 错误:无法推送一些参考...


#1楼

参考:https://stackoom.com/question/2biMT/修复GitLab错误-您不允许将代码推送到此项目的受保护分支


#2楼

there's no problem - everything works as expected. 没有问题 - 一切都按预期工作。

In GitLab some b

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值