push tag git remote 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 checkout tag
$ git checkout tags/<tag_name> -b <branch_name>
Example 3: git add tag
git tag -a v1.2
git push origin v1.2
Example 4: git push to specific tag
git push origin tag_a