如何永久删除 Github 标签?

Mah*_*alt 3 git github git-tag

我知道我可以去 github.com,选择我的标签,然后点击删除,但这只会删除标签信息,而不是实际的标签。那么如何永久删除呢?!

Mah*_*alt 5

从本地 git 存储库,执行以下操作:

git fetch
git tags
git tag -d {tag-name}
git push origin :refs/tags/{tag-name}
Run Code Online (Sandbox Code Playgroud)

现在去 Github.com 并刷新,它们消失了。