git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to create a new branch based on a tag?

From
BLBen Lau <benlau@ust.hk>
Date
Oct 21, 2005, 16:23 UTC
Message-ID
<4359161B.5000808@ust.hk>
In-Reply-To
<7vsluv5y0p.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 17 quoted lines
>Ben Lau <benlau@ust.hk> writes:
>
>  
>
>>As v2.6.11 is a tree object(tag), git-checkout and git-branch could 
>>not process it. The
>>only way I know is using git-read-tree to fetch v2.6.11 content into 
>>current index and start
>>a branch based on it. Is there any simpler method?
>>    
>>
>
>The way you know is as good as it gets.  v2.6.11-tree case is
>really an unfortunate special case.
>
>  
>

What is wrong with the v2.6.11-tree? I just thought it is a duplicate tag of v2.6.11.

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 8 in “How to create a new branch based on a tag?”
  1. Ben LauOct 21, 2005
  2. Martin LanghoffOct 21, 2005
  3. Ben LauOct 21, 2005
  4. Junio C HamanoOct 21, 2005
  5. Ben LauOct 21, 2005
  6. Junio C HamanoOct 21, 2005
  7. Ben LauOct 21, 2005
  8. Junio C HamanoOct 21, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.