git command to create a lightweight tag code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: how to create tag in git
git tag -a v1.4 -m "my version 1.4"
Example 3: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin <tagname>
Example 4: lightweight tag git
$ git tag -a v1.0.0