Need Assistance?

support@tutorialshub.in

Advanced Git

Tags and releases

ADVERTISEMENT
Git Free Lesson
5 min read
ADVERTISEMENT

Tags give names to important commits

Tags are references commonly used for releases such as v1.0.0. Unlike a normal branch, a release tag generally identifies a specific version rather than moving with new commits.

Annotated tags

Annotated tags store metadata such as a message, tagger and timestamp. They are useful for release points because the tag itself carries information about why the version was created.

Push tags deliberately

Creating a tag locally does not automatically publish it. Push the intended tag or tags to the remote and make sure the release commit is the one you actually want users to receive.

ADVERTISEMENT