I tried deleting the git tag name which is named as -d
using command
git tag -d -d
but couldn't able to delete it.
Any ideas?
I tried deleting the git tag name which is named as -d
using command
git tag -d -d
but couldn't able to delete it.
Any ideas?
git tag -d -- -d
is the usual way to tell a *nix program that the argument after --
is not an option but rather a positional argument. This is how you can remove files named -f
and so on.
I had the same issue.
git tag -d -- -d
did not work for me.
However this did work:
git tag -d `git tag -l '*-d*'`
Explanation:
*-d*
git tag -d