DELAPARRA
Index
Color
NL
Category: Git commands

git tag

Explained by Updated

What is git tag?

git tag: Mark a specific commit with a human-readable label, typically for releases. git tag marks a specific commit with a readable name, usually a release version such as v2.4.0. Unlike a branch, a tag does not move as new commits are added. Tags make it easy to see exactly what code is in a release, to compare two versions, and to roll back to a known good state. Many deploy pipelines build and release automatically when a new tag is pushed.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about git tag

What should you keep in mind with git tag?

Use annotated tags for releases, git tag -a v2.4.0 -m "Release 2.4.0", which store the author, date and message. Tags are not pushed by default; use git push origin v2.4.0 or git push --tags. Combine tags with semantic versioning, so the number tells users whether an update is a fix, a feature or a breaking change.

At a glance

CategoryGit commands
Explained by
Updated

More Git commands terms

All terms starting with G

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.