首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Git问题:出现报错-You are not allowed to push code to protected branches on this project

    Git问题:出现报错-You are not allowed to push code to protected branches on this project 前言 最近不是在做数据安全分类分级的项目吗...origin master 结果就出现了报错:GitLab:不允许将代码推送到该项目的受保护分支 GitLab: You are not allowed to push code to protected branches...如果不是空项目,那么可以找创建项目的owner老哥取消对分支的保护设置即可 操作步骤即截图如下 “Settings” -> “Repository” -> scroll down to “Protected branches...” 改成unprotected就好 (参考来源-Fix GitLab error: “you are not allowed to push code to protected branches...将成员设置为仓库管理员即可 不同的问题要视情况而定了,我是符合第一种情况的 看看gpt的回答 问:Git出现报错-You are not allowed to push code to protected branches

    1.2K10
    领券