annotated tag
A tag stored as its own Git object, with the tagger's name, a date and a message, pointing at a commit.
In more detail
It is the recommended kind for releases because it records who tagged what and when, and it can be signed. git show v1.0 prints the tag details followed by the commit.
Examples
A deployment in the course lab is an annotated tag named deploy-NNNN; its tagger date is when it shipped.git tag -a v1.0 -m 'Release version one'Related terms
- git tag — A name fixed permanently to one commit, usually to mark a release such as v1.0, and the command that creates and lists them.
- commit — A saved snapshot of the whole project in Git, together with its author, committer, time, message and a pointer to the commit before it.
- lightweight tag — A tag that is only a name pointing at a commit, with no message, author or date of its own.
- Git object — One item in Git's database, a blob, tree, commit or annotated tag, stored under the hash of its content.
Taught in
- Large Files, Scale, Permissions And Tags — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- Throughput: Change Lead Time And Deployment Frequency — DevOps & Site Reliability Engineering
- The Four Keys History And Retiring MTTR — DevOps & Site Reliability Engineering
- Tags And Releases — Advanced Git Internals & Distributed Workflows