QuckTip: Tagging your code on git

Posted on Thursday, December 8, 2011



For Tagging
>git tag -a v1.4 -m ‘version 1.4’
For viewing the tag
>git tag
For pushing it for everyone
>git push --tags
For tagging an existing commit
> git tag -a v1.2 9fceb02 <start of the changeset code>
For fetching tags from repository
> git fetch --tags
Posted in: Java