美文网首页
git push失败:prohibited by Gerrit:

git push失败:prohibited by Gerrit:

作者: 真是太机智了 | 来源:发表于2019-05-30 09:27 被阅读0次
    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/*
    

    相关文章

      网友评论

          本文标题:git push失败:prohibited by Gerrit:

          本文链接:https://www.haomeiwen.com/subject/qwzptctx.html