Programming

Git: push a tag when the remote is up-to-date

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

Source

Back


Comments

No comment yet.

A remark, a suggestion? Do not hesitate to express yourself below. Just be courteous and polite, please.

If this field is left blank, you will appear as Anonymous.