To delete a tag, run the git tag -d command and enter the name of the tag you wish to delete.
Delete the tag we just created using the following command:
$ git tag -d tag2
Then the history will look like this.
Learn with Nulab to bring your best ideas to life