git bash tag code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: git tag from commit
$ git tag <tag_name> HEAD (for the last commit)
git tag -a v1.4 -m "my version 1.4"
$ git tag <tag_name> HEAD (for the last commit)