tagging in git
Just pasting some conversations around tagging:
to add a tag 0.1.1
>git tag -a '0.1.1' -m '0.1.1'
and then push it
>git push --tags
gagan: think of a tag as a named commit normally commits just have long SHA1 references you can give a commit a name and a description and some other metadata if you want the first adds the tag to the current HEAD the latter pushes all your tags tagging is a local operation and then you push your tags.
Advertisements
Leave a Comment