What to do with an unwanted tag in the tag list?

41 Views Asked by At

When I run git tag the first line is value 2 - what is it? If it was a wrong tag record (there should not be that tag) how to remove it?

PS C:\Users\rozerro\StudioProjects\testing_project> git tag
2
step-1
step-2
step-3
step-4
step-5
step-6
step-7
1

There are 1 best solutions below

1
Mureinik On BEST ANSWER

Indeed, as you suspected, you have a tag called 2.

If you're sure you don't need it, you can remove it using the -d flag:

git tag -d 2