git -f tag code example
Example 1: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin <tagname>
Example 2: git create tag and push
git tag <tagname>
git tag -a version.number -m "Tag Message"
git push origin <tagname>
git tag <tagname>