Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 493 Bytes

git-tag.md

File metadata and controls

43 lines (28 loc) · 493 Bytes

Git tags

Back{: .button}

Types of tags

Lightweight tags

git tag v1.2

This only contains information to point to a particular commit

Annotated tags

git tag -a v1.2
git tag -a v1.2 -m "Version 1.2"

This can contain other data about the tag, message, tagger information

List tags

git tag
git tag -l <wildcard>

git tag -l "v1.0.*"

Push tag to remote

git push origin <tag>

Deleting tags

git tag -d v1.2