# branching based on tag.

2 messages from 2012-05-04 to 2012-05-04. Participants: karunakar merugu, Hallvard Breien Furuseth.
Thread: https://gitlist.dev/t/30419

## karunakar merugu, 2012-05-04 09:18

Subject: branching based on tag.
Message-ID: <CABECqUE-WqnR_wQzMsuEFmUu86_9i+GnJdEKYXwB+WancTFnOA@mail.gmail.com>
URL: https://gitlist.dev/e/CABECqUE-WqnR_wQzMsuEFmUu86_9i%2BGnJdEKYXwB%2BWancTFnOA%40mail.gmail.com

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

```

## Hallvard Breien Furuseth, 2012-05-04 09:53

Subject: Re: branching based on tag.
Message-ID: <d0a5c7b492d53912d12f25ba6f8fe828@ulrik.uio.no>
URL: https://gitlist.dev/e/d0a5c7b492d53912d12f25ba6f8fe828%40ulrik.uio.no
In-Reply-To: <CABECqUE-WqnR_wQzMsuEFmUu86_9i+GnJdEKYXwB+WancTFnOA@mail.gmail.com>

```
 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

```
