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

Re: How to checkout a tag?

From
JGJeff Garzik <jeff@garzik.org>
Date
Oct 5, 2006, 11:13 UTC
Message-ID
<4524E8C2.3060404@garzik.org>
In-Reply-To
<4524E72D.9030101@shadowen.org>
Andy Whitcroft wrote:
Show 13 quoted lines
> Jeff Garzik wrote:
>> Sometimes I receive a kernel patch based off an older version of the
>> kernel, for example a 2.6.18 patch when the current kernel is 2.6.19-rc1.
>>
>> I would like to create a branch starting at 2.6.18, merge the patch, and
>> then merge up to the current kernel.
>>
>> How does one check out a tag, or create a branch based on a tag's
>> starting point?
> 
> A tag is a ref like any other:
> 
> 	git checkout -b branchname tag
Weird.  No idea why that didn't work before, for me.
Thanks for the clue-hammer.
	Jeff
Previous: Andy WhitcroftNext: Andy Whitcroft
Message 3 of 5 in “How to checkout a tag?”
  1. Jeff GarzikOct 5, 2006
  2. Andy WhitcroftOct 5, 2006
  3. Jeff GarzikOct 5, 2006
  4. Andy WhitcroftOct 5, 2006
  5. Jakub NarebskiOct 6, 2006

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.