Archive | Git

Creating Tag in Git

Dec 13th, 2011No Comments

There are 2 steps to create a tag in Git

Creating Annotated tags

  1. -a refers to tagname
    -m refers to tag message

    $ git tag -a v1.2 -m 'version 1.2'

    as the above command is executed the tag will be created in you local system .

  2. You need to push the tag to Git project repository
    $ git push --tags

Creating a Simple tag

  1. $ git tag tagname 
VN:F [1.9.10_1130]
Rating: 9.5/10 (2 votes cast)
VN:F [1.9.10_1130]
Rating: 0 (from 0 votes)