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 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.


You cannot comment on this entry