If you have a tag created starting with the # character, e.g. #ST002
, you might find that u are unable to delete using normal patterns. i.e.
git tag -d #STOO2
Will not delete the tag, but wrapping it in a String Literal like so
git tag -d "#ST002" or git tag -d '#ST002'
That will get it deleted. Hoping it will help someone who made the mistake of using # to write tag names.