How to checkout a specific git tag?

Daniel Urstöger
10-04-2012 00:43

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!

Average rating: 0 (0 Votes)

You cannot comment on this entry