Push a tag to the remote

4

I need to push a single tag, v0.0.1 , to my remote repository.

I know there is git push --tags , but this command, as per your documentation , push all tags.

What command to push a single tag to the remote repository?

    
asked by anonymous 22.06.2018 / 20:21

1 answer

5

Use, as per the documentation :

git push origin <nome-da-tag>

In git, tags and branches are very similar, both are pointers to specific commits. Therefore, the syntax for push is the same.

    
22.06.2018 / 20:52