$ git push origin :refs/tags/deploy
Annotated tags
$ git tag -a <tagname> -m '<message>'
Lightweight tags
$ git tag -a <tagname>
$ git push --follow-tags
It pushes both commits and only tags that are both:
- annotated
- reachable (an ancestor) from the pushed commits
$ git push origin deploy
$ git tag -d deploy