Back
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?
There is a command which helps you to create a new branch using tag
git checkout -b newbranch v1.0
This command will help you to create a new branch.
Hey, just adding another way of doing what @chandra is asking, which is simple way to create a new branch (Note that this command will not immediately be changing to the newbranch)
$ git branch newbranch v1.0
31k questions
32.8k answers
501 comments
693 users