Git: push a tag when the remote is up-to-date
Published at Mar 01, 2014 - 22:55:45 by dixDel and updated at Mar 10, 2014 - 01:08:19 by dixDel
I started using tags a few weeks ago, after reading "A successful Git branching model".
Update: tags are not pushed along without the --tags option. Tags are simply pushed along with the usual git push command. However, if a tag is created after pushing the latest commit, another git push just ignores it. To explicitly tell Git to push a tag called tagName:
$ git push origin tagName
The following command push all the tags:
$ git push --tags