How to create a new branch from a tag?

Andrew picture Andrew · Jun 8, 2012 · Viewed 327.1k times · Source

I'd like to create a new master branch from an existing tag. Say I have a tag v1.0. How to create a new branch from this tag?

Answer

Andrew picture Andrew · Jun 8, 2012

Wow, that was easier than I thought:

git checkout -b newbranch v1.0