Hello devs in this example i am going to share with you that how you can create git tag and delete that tag from your local and remote repository. On Git, you konw that tags are often used in order to tag specific commits that may be more important than others.
On GitHub, tags are associated with actual software releases. In this git delete tag, git push tag or git delete remote tag example i will create a tag and then publish it and then aslo show you how we can delete it.
Create Git Tag
git tag v1.0.0
//then push tag
git push --tag
Delete local git tag
git tag -d
//like
git tag -d v1.0.0
Delete remote git tag
git push --delete origin tagname
//like
git push --delete origin v1.0.0
Now if you want to make sure that tags were correctly deleted, simply list your existing tags using the tag command and the “-l” option.
git tag -l
Hope it can help you.
#git #tag