beginnerAdvanced Git
Tags
The Definition
Tags are references that point to specific points in Git history, typically used for release versions.
Mental Model
"Tags are like bookmarks in a book. They mark important points like version releases that you want to easily find later."
Visual Simulation
Live Engine
Watch Out (Common Pitfalls)
!
Not tagging releases
!
Using commit hashes instead of tags for releases
!
Forgetting to push tags to remotes
Hands-on Command
shell
~ $
git tag v1.0.0
git tag -a v1.0.0 -m "Release version 1.0.0"