[TYPO3-v4] How to get specific releases ('tags') from git?

Peter Niederlag typo3-list at niekom.de
Mon Mar 21 10:09:22 CET 2011


Hello,

Am 20.03.2011 23:47, schrieb Xavier Perseguers:
> Hi Jigal,
[...]
> shows you the list of available tags. After cloning, issuing
>
> $ git checkout <tag_name>
>
> should let you... well... get a tag.

It will put you into DETACHED HEAD (not being on any branch). If you 
want to do some work you should always create a (local only) branch 
based on that tag:

# quickly create and checkout a branch based on any ref (a tag, ...)
$ git checkout -b <whatever-you-like> <tag-name>

# checkout tag into DETACHED HEAD for quick inspection
$ git checkout <tag_name>

# listing tags, with one line of information from the commit
$ git tag -ln1

hth and Greets,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-v4 mailing list