Tagging a release

Create tag release

Once you’ve determined that this is the correct commit and you’re ready to create a new tag, run the following command:

$ git tag -a v0.5.1 -m 'Release 0.5.1' c1b3544

Push tags to git remote repo

Then you can push this (and all other tags) to your repository to share:

$ git push --tags

Additional reading

See the following article for more informaton http://git-scm.com/book/en/Git-Basics-Tagging