Git Tags
Using git tags to mark versions.
Tag after commited
# Adding you own tag version, then push to origin
git tag -a v1.2 <commit_hash>
git push origin v1.2
# Samples
git tag -a v1.4.1 1g34mCGkd
git push origin v1.4.1
# Samples with message
git tag -a v1.4.1 1g34mCGkd -m "Production version bug fix"
git push origin v1.4.1
Tag before commited
git tag -a v1.4.1 -m "Production version bug fix"
Show tags
git tag
# Check specific tags name with this format
git tag -l "v1.2.*"