[Step 9] Denote specific release versions with Tags - Yellow-Team-Millerslab/GitPlayground GitHub Wiki
Use case:
- To denote specific release versions of your code.
- Or just treat it like a post-it note that refers to one commit. (So you can do
git reset --hard TAG_NAME
to revert your change locally).
-
In History tab, right-click on a commit and click
create tag
. -
Team Explorer will switch to
Commit Details
-
Enter tag title and click
Create Tag
. History will be like -
To remove the tag
Do it in command line:
git tag --delete TAG_NAME
The whole process
Related Commands:
- git tag
- git tag [tagname]
- git tag [tagname] -a
- git tag [tagname] -d