Re: branching based on tag.
- From
- Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no>
- Date
- May 4, 2012, 09:53 UTC
- Message-ID
- <d0a5c7b492d53912d12f25ba6f8fe828@ulrik.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-branchYou should probably not move the tag, though you can with the 'git tag' command.
-- Hallvard