github tag code example
Example 1: git push tags
#from git 1.8.3 you can use
git push --follow-tags
#single tag push
git push origin <tag_name>
#All tags (if possible use --follow-tags 'cause it's safer)
git push --tags
Example 2: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 3: git create tag and push
git tag <tagname>
Example 4: release tag github
$ git tag -a v2.1.0 -m "xyz feature is released in this tag."
$ git tag
v1.0.0
v2.0.0
v2.1.0