Tags mark specific commits as important — usually for releases.
Getting Started
What is Git?
Branching & Merging
Branches & Merging
Tags & Releases
Git Tags
Submodules & Subtree
Git Submodules
GitHub Actions
GitHub Actions CI/CD
Git Worktrees
Git Worktrees
Git LFS
Git LFS (Large Files)
Git
Beginner
FREE
Git Tags
Lesson 1 of 17
Beginner
Interactive
Syntax
GIT
git tag v1.0.0 git tag -a v1.0.0 -m "Release 1.0" git push origin v1.0.0 git tag -d v1.0.0
Git Tags
BASH
# Create lightweight tag git tag v1.0.0 # Create annotated tag git tag -a v1.0.0 -m "Version 1.0.0 release" # List tags git tag # Push tags git push origin v1.0.0 git push origin --tags # Checkout tag git checkout v1.0.0
Practice
1
Exercise
Practice this concept.
Answer
Run the commands as shown above.
Quick Quiz
1
What did you learn?
This covers the basics.
Interview Questions
It is a fundamental Git feature.