git push提示或错误

当 git 和 gerrit 一起使用的时候,你创建了一个 tag,现在需要 push 到远程仓库,当你没有权限的时候,会出现如下提示:

$ git push origin v20150203
Total 0 (delta 0), reused 0 (delta 0)
remote: Processing changes: refs: 1, done
To ssh://lh_du@code:2354/UED/Platform/UED.Platform.online
 ! [remote rejected] v20150203 -> v20150203 (prohibited by Gerrit)
error: failed to push some refs to 'ssh://emailName@code.ctripcorp.com:29418/UED/Pla
tform/UED.Platform.online'

  

原文地址:https://www.cnblogs.com/ayseeing/p/4244297.html