git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* branching based on tag.
@ 2012-05-04  9:18 karunakar merugu
  2012-05-04  9:53 ` Hallvard Breien Furuseth
  0 siblings, 1 reply; 2+ messages in thread
From: karunakar merugu @ 2012-05-04  9:18 UTC (permalink / raw)
  To: git

hi
I am new to the git.
I just cloned the repository by following command
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
After this I checked tags by
git tag -l
it gives me the lot of tags.I just want to work on some specific
tag.Is it possible for me to create separate branch on that specific
tag.
thanks,
karunakar.

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

* Re: branching based on tag.
  2012-05-04  9:18 branching based on tag karunakar merugu
@ 2012-05-04  9:53 ` Hallvard Breien Furuseth
  0 siblings, 0 replies; 2+ messages in thread
From: Hallvard Breien Furuseth @ 2012-05-04  9:53 UTC (permalink / raw)
  To: karunakar merugu; +Cc: git

 On Fri, 4 May 2012 14:48:58 +0530, karunakar merugu wrote:
> git tag -l
> it gives me the lot of tags.I just want to work on some specific
> tag.Is it possible for me to create separate branch on that specific
> tag.

 Start a new branch from the tag, and check that
 branch out so you can work in it:

     git checkout -b your-new-branch tagname

 This is shorthand for the two commands
     git branch   your-new-branch tagname
     git checkout your-new-branch

 You should probably not move the tag, though you
 can with the 'git tag' command.

-- 
 Hallvard

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

end of thread, other threads:[~2012-05-04  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04  9:18 branching based on tag karunakar merugu
2012-05-04  9:53 ` Hallvard Breien Furuseth

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