I have cloned a remote Git repository to my laptop, then I wanted to add a tag so I ran
git tag mytag master
When I run git tag
git tag
You can push all local tags by simply git push --tags command.
git push --tags
$ git tag # see tag lists $ git push origin # push a single tag $ git push --tags # push all local tags