如何创建和删除gerrit上的git tag

来源:互联网 发布:linux cp命令 速度 编辑:程序博客网 时间:2024/06/05 08:26

先说创建:

git tag -a v20151013

git push origin v20151013


再说删除:

首先要在gerrit上增加references类别和相应的push权限,一定记得打开Force Push属性!

Reference:
refs/tags/*
Push
 mobile-ios-client-owner
Push Annotated Tag
 mobile-ios-client-owner
Power
然后

git tag -d v20151013

git push origin :refs/tags/v20151013


注意事项:

1. 不要使用admin超级帐号来进行创建和删除tag等操作,用access里有push权限的帐号即可


0 0
原创粉丝点击