Tagging
- We use tag to bookmark certain points in the history of our project.
Tagging Last Commit
git tag v1.0.
Tagging Specific Commit
git tag v1.0. commitid
Checkout tagged commit
git checkout tagname
See all tags
git tag
Annotated Tags
- With annotated tags you can associate a message
git tag -a v1.1 -m "My version 1.1"
See all tags with message
git tag -n
Show Tag
git show v1.1
Delete Tag
git tag -d v1.1