如何删除GitLab存储库中的标签 [英] How do I remove Tag in GitLab repository

查看:3869
本文介绍了如何删除GitLab存储库中的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GitLab 7.7.2并尝试在GitLab中删除存储库中的标签。
我可以删除本地存储库中的标签,但不能删除原始标签。
如何在GitLab存储库中删除标签?

  $ git tag -d Tag_AAA 
已删除标签' Tag_AAA'(是d10bff2)

$ git push --delete origin Tag_AAA
remote:GitLab:您没有权限
至git@git.aaa.bbb.ccc :root / Repository.git
! [远程拒绝] Tag_AAA(预接收钩拒绝)
错误:未能将一些文件推送到'git@git.aaa.bbb.ccc:root / Repository.git'



要么要求回购所有者授予您主人的许可,要么让他帮您删除标记会有所帮助。


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'

解决方案

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.

这篇关于如何删除GitLab存储库中的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆