TagA named reference to a specific commit. Unlike branches, tags do not move when new commits are made. Used for marking important points in history — typically releases (v1.0, v2.0).
Lightweight TagJust a name pointing to a commit (like a branch that never moves). No extra metadata.
Annotated TagA tag with metadata: author, date, and message. Stored as a full Git object. Created with git tag -a.
View commit history to find the release commit
Look at the log to see which commit should be tagged as a release.
● View commit history to find the release commit
○ Create a tag at the initial commit
○ Tag the current HEAD as "v1.0"
○ List all tags
○ Delete the "v0.1" tag
Terminal
📘 Starting tutorial: Tagging
Create, list, and delete tags to mark important commits
Step 1: View commit history to find the release commit