Post Reads 20 reads

# View Tags

$ git tag
v0.1
v1.3

# Create a tag for product version release.

$ git tag

# Push the tags.

git push origin --tags

# Get the list of only 1.5.* releases.

$ git tag -l "v1.2*"
v1.2
v1.2-1
v1.2-2
v1.2.3

More more details visit https://git-scm.com/book/en/v2/Git-Basics-Tagging

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
%d bloggers like this: