我正在使用 GitLab 7.7.2 并尝试删除 GitLab 存储库中的标签。 我可以删除本地存储库中的标签,但无法删除源中的标签。 如何删除 GitLab 存储库中的标签?
$ 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'
最佳答案
显然您没有删除远程 GitLab 仓库中标签的权限。
要么请求repo的所有者授予你master的权限,要么让他帮你删除tag会有所帮助。
关于git - 如何删除 GitLab 存储库中的标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30858781/