Git Tag Purpose
Multiple Choice Medium
Question
What is a Git tag used for?
Hint
Tags mark release points.
Explanation
A Git tag is a named reference to a specific commit, typically used for version releases (e.g., v1.0.0). Tags are immutable — they always point to the same commit. Create with git tag v1.0.0. Annotated tags (git tag -a v1.0.0 -m "msg") store metadata. Tags must be explicitly pushed: git push --tags. Tags are useful for CI/CD and release management.
Related Resources
Related Lessons
- Git Commit
Learn git commit.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.