[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).
  1. In History tab, right-click on a commit and click create tag.

  2. Team Explorer will switch to Commit Details

  3. Enter tag title and click Create Tag. History will be like

  4. To remove the tag

    Do it in command line: git tag --delete TAG_NAME

The whole process

ref

Related Commands:

  • git tag
  • git tag [tagname]
  • git tag [tagname] -a
  • git tag [tagname] -d