git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Andy Whitcroft <apw@shadowen.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: How to checkout a tag?
Date: Thu, 05 Oct 2006 07:13:06 -0400	[thread overview]
Message-ID: <4524E8C2.3060404@garzik.org> (raw)
In-Reply-To: <4524E72D.9030101@shadowen.org>

Andy Whitcroft wrote:
> 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

  reply	other threads:[~2006-10-05 11:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05 10:47 How to checkout a tag? Jeff Garzik
2006-10-05 11:06 ` Andy Whitcroft
2006-10-05 11:13   ` Jeff Garzik [this message]
2006-10-05 11:18     ` Andy Whitcroft
2006-10-06  7:32   ` Jakub Narebski
  -- strict thread matches above, loose matches on Subject: below --
2006-10-05 12:00 linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4524E8C2.3060404@garzik.org \
    --to=jeff@garzik.org \
    --cc=apw@shadowen.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).