git versioning with tags code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin <tagname>
git tag -a v1.4 -m "my version 1.4"
git tag -a version.number -m "Tag Message"
git push origin <tagname>