In this article you will learn how you can delete remote tags from git repository basically git tags are used for applications versions
Git Tags
In Git, a tag is a label that you can attach to a specific commit in the repository. This can be useful for marking specific commits as releases, milestones, or stable points in the project's history.
Git tags are used as reference points in your development workflow. In this article I will show you how you can create, push and delete tags using commands.
We often use Git tags to give a reference to our releases of a software.
How to cerate remote tag
git tag v2.0
How to push remote tag:
To push a tag to a remote repository using Git, you can use the git push
command followed by the name of the remote repository and the name of the tag.
To push a single tag, you can use the following command:
git push --tags
To delete remote tag use the ---delete origin tagname
:
git push --delete origin v2.0