remote: GitLab: You are not allowed to push code to protected branches on this project.
1、说明你没有权限,把代码推送到这个分支
1 2 3 4 5 6 7 8 9 10 11 | warning: redirecting to http: //xxxx.git/ Enumerating objects: 14, done. Counting objects: 100% (14/14), done. Delta compression using up to 12 threads Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8), 2.36 KiB | 2.36 MiB/s, done. Total 8 (delta 6), reused 0 (delta 0), pack-reused 0 remote: GitLab: You are not allowed to push code to protected branches on this project. To http: //xxxxx ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to 'http://xxxxx' |
解决方法:让项目管理给你开发合并的权限,就可以了
分类:
工具 / git
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 写一个简单的SQL生成工具
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
2021-12-03 使用Log4j的步骤