How to use git to download a particular tag?

Posted by Jack BeNimble on Stack Overflow See other posts from Stack Overflow or by Jack BeNimble
Published on 2009-04-27T01:15:12Z Indexed on 2010/04/26 14:43 UTC
Read the original article Hit count: 164

Filed under:
|

I'm trying to figure out how do download a particular tag of a git repository - it's one version behind the current version.

I saw there was a tag for the previous version on the git web page, with object name of something long hex number.

But the version name is "Tagged release 1.1.5" according the site.

I tried a command like this (with names changed):

git clone http://git.abc.net/git/abc.git my_abc

And I did get something - a directory, a bunch of subdirectories, etc.

If it's the whole repository, how do I get at the version I'm seeking? If not, how do I download that particular version?

© Stack Overflow or respective owner

Related posts about git

Related posts about tags