How to checkout a specific git tag?

After you have created a local copy of the repository you can checkout a specif tag, so there you go:

 

git clone http://git.gosi.at/testrepo testrepo
git tag -l
git checkout <tag_name>

 

First command creates the local copy, second command shows you the available tags and the last does the work.

Done!

You cannot comment on this entry