git push origin --tags失败,提示prohibited by Gerrit
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
环境:linux+jenkins+gradle
情景: gradle 编译android包的时候,希望Push tag到remote 服务器,每次都失败在git push origin --tags
失败的log如下:
+ git push origin --tags
|Please wait a moment...
|remote: Resolving deltas: 100% (1/1) [K
remote: Resolving deltas: 100% (1/1)[K
remote:
remote: Processing changes: (\)[K
remote:
remote: Processing changes: refs: 1 (|)[K
remote:
remote: Processing changes: refs: 2 (/)[K
remote:
remote: Processing changes: refs: 3 (/)[K
remote: Processing changes: refs: 3, done [K
To ssh://****** (此处为具体的代码库地址)
! [remote rejected] meet_20180513__V_ -> meet_20180513__V_ (prohibited by Gerrit)
! [remote rejected] spark_20180529__V2.1.2_1361 -> spark_20180529__V2.1.2_1361 (prohibited by Gerrit)
! [remote rejected] spark_20180529__V2.1.2_1362 -> spark_20180529__V2.1.2_1362 (prohibited by Gerrit)
error: failed to push some refs to 'ssh://**********'
So, 通过prohibited by Gerrit进行分析:(网上有很好的总结,截图如下)
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
具体链接为:(https://gerrit-review.googlesource.com/Documentation/error-prohibited-by-gerrit.html)
可得出该问题很可能的原因是没有权限。
检查发现,我确实只有读权限,木有写权限。
添加写权限后,即可push成功。




A beautiful web dashboard for Linux
最近提交(Master分支:6 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
相关推荐
查看更多
linux-dash

A beautiful web dashboard for Linux
linux-dash

A beautiful web dashboard for Linux
linux-dash

热门开源项目
活动日历
查看更多
直播时间 2025-03-13 18:32:35

全栈自研企业级AI平台:Java核心技术×私有化部署实战
直播时间 2025-03-11 18:35:18

从0到1:Go IoT 开发平台的架构演进与生态蓝图
直播时间 2025-03-05 14:35:37

国产工作流引擎 终结「996」开发困局!
直播时间 2025-02-25 14:38:13

免费开源宝藏 ShopXO,电商系统搭建秘籍大公开!
直播时间 2025-02-18 14:31:04

从数据孤岛到数据智能 - 企业级数据管理利器深度解析
所有评论(0)