git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to create a new branch based on a tag?
@ 2005-10-21 14:57 Ben Lau
  2005-10-21  3:37 ` Martin Langhoff
  2005-10-21  3:50 ` Junio C Hamano
  0 siblings, 2 replies; 8+ messages in thread
From: Ben Lau @ 2005-10-21 14:57 UTC (permalink / raw)
  To: git

Hi,

   I would like to create a branch of my own work based on a specific 
kernel version(i.e
v2.6.11). I tried with:

 > git-branch my2.6.11 v2.6.11
error: Object 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c is a tree, not a 
commit
fatal: Needed a single revision

  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?

Thanks!

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-10-21  8:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 14:57 How to create a new branch based on a tag? Ben Lau
2005-10-21  3:37 ` Martin Langhoff
2005-10-21 16:15   ` Ben Lau
2005-10-21  3:50 ` Junio C Hamano
2005-10-21 16:23   ` Ben Lau
2005-10-21  5:08     ` Junio C Hamano
2005-10-21 19:14       ` Ben Lau
2005-10-21  8:20         ` Junio C Hamano

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).