As using gerrit, how to remove remotes tag?

不打扰是莪最后的温柔 提交于 2019-12-06 01:34:03

问题


everybody! I am using gerrit, and i met some issue. I have created a tag which is v1.0. And I want to delete it from local and remote now. The operations have been done:

  • git tag -d v1.0
  • git push origin refs/tags/v1.0

Then , I met a error: ! [remote rejected] v1.0 (cannot delete references) error: failed to push some refs to 'ssh://admin@review.thomas.com:29418/testproject'

What's wrong with it ?


回答1:


To delete or overwrite an existing tag, grant (set "ALLOW") "Push" permission with the "Force Push" option enabled for reference name refs/tags/*.



来源:https://stackoverflow.com/questions/28017325/as-using-gerrit-how-to-remove-remotes-tag

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!