git light waight tag code example
Example 1: git add tag
git tag -a v1.2
git push origin v1.2
Example 2: git tag from commit
$ git tag HEAD (for the last commit)
git tag -a v1.2
git push origin v1.2
$ git tag HEAD (for the last commit)