add tag git commit code example
Example 1: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin
Example 2: git tag a previous commit
git tag -a v1.2 9fceb02 -m "Message here"
git tag -a version.number -m "Tag Message"
git push origin
git tag -a v1.2 9fceb02 -m "Message here"