Introduction
Sometimes you want to start a deployment only when a specific version or milestone is ready. Using tags in git helps you mark these points and trigger deployments automatically when you create or push these tags.
When you want to deploy only stable versions marked by tags, not every commit.
When you release software versions like v1.0, v1.1 and want deployment to happen on these tags.
When your CI/CD pipeline listens for tags to start building and deploying your app.
When you want to keep your deployment history clean by deploying only tagged releases.
When you want to roll back easily by deploying a previous tag.