我想删除Git存储库中的所有标记.我怎样才能做到这一点?
使用git tag -d tagname在tagname本地删除标记,并使用git push --tags我更新git提供程序上的标记.
我试过了:
git tag -d *
Run Code Online (Sandbox Code Playgroud)
但我看到这*意味着当前目录中的文件.
$ git tag -d *
error: tag 'file1' not found.
error: tag 'file2' not found.
...
Run Code Online (Sandbox Code Playgroud)
考虑我有很多标签,我想删除它们.