Remove local tag in Git

3

How do I delete a tag that was created locally in my git repository and has not yet been pushed

Example:

I created the v1.4.9 tag, but I noticed that it was in the wrong branch before doing git push . I want to remove the v1.4.9 tag that is locally created.

    
asked by anonymous 27.11.2014 / 20:42

1 answer

5

You can do this:

$ git tag -d v1.4.9

or $ git tag and together -d to delete or -a to add followed by string of the

    
27.11.2014 / 20:47