git push失败:prohibited by Gerrit: ref update access denied

Counting objects: 14, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (14/14), done.

Writing objects: 100% (14/14), 1.40 KiB | 0 bytes/s, done.

Total 14 (delta 10), reused 0 (delta 0)

remote: Resolving deltas: 100% (10/10)

remote: Branch refs/heads/master:

remote: You are not allowed to perform this operation.

remote: To push into this reference you need 'Push' rights.

remote: User: ****

remote: Please read the documentation and contact an administrator

remote: if you feel the configuration is incorrect

remote: Processing changes: refs: 1, done   

To ****
! [remote rejected] master -> master (prohibited by Gerrit: ref update access denied)

error: failed to push some refs to '****'

需要执行 git config remote.origin.push refs/heads/*:refs/for/*
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 近年来,由于开源项目、社区的活跃热度大增,进而引来持续集成(CI)系统的诞生,也越发的听到更多的人在说协同开发、敏...
    a6fc544968bb阅读 9,447评论 0 30
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,448评论 0 10
  • 首先确定电脑安装了git 输入git会产生提示: 如果没有安装,那么就网上搜索下载完成安装. 可以使用命令行安装,...
    元宇宙协会阅读 4,499评论 1 9
  • 首先确定电脑安装了git 输入git 会产生提示: 如果没有安装,那么就网上搜索下载完成安装. 可以使用命令行安装...
    彗星来的那一夜阅读 855评论 0 0
  • 2016.12.4 虽然14年开发第一个项目时就已经接触了git,当时xcode已经开始支持git,在github...
    張小明阅读 416评论 1 0