How do I remove Tag in GitLab repository

2019-03-23 20:01发布

问题:

I am using GitLab 7.7.2 and tried to remove Tag in a repository in GitLab. I could remove tag in a local repository but cannot remove tag in origin. How do I remove tag in GitLab repository?

$ git tag -d Tag_AAA
Deleted tag 'Tag_AAA' (was d10bff2)

$ git push --delete origin Tag_AAA
remote: GitLab: You don't have permission
To git@git.aaa.bbb.ccc:root/Repository.git
 ! [remote rejected] Tag_AAA (pre-receive hook declined)
error: failed to push some refs to 'git@git.aaa.bbb.ccc:root/Repository.git'

回答1:

Obviously you don't have the permission of deleting tags in remote GitLab repo.

Either ask for the owner of the repo to grant you the permission of master or let him help you to delete the tag would help.



标签: git tags gitlab