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 [email protected]:root/Repository.git
! [remote rejected] Tag_AAA (pre-receive hook declined)
error: failed to push some refs to '[email protected]:root/Repository.git'
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.