Friday, January 24, 2014

Git tags: push to a remote Git repository based on a tag

I noticed when I pushed changes to a remote Git repository, it doesn’t send the tags I’ve created along with the other changes. Is there anyone who knows if this is normal behavior?

In the meanwhile I solved the issue by pushing the tags explicitly using the following command:

  • Push all tags:
    • git push –tags
  • Push a single tag:
    • git push origin <tag_name>

No comments: