Git create branch from tag - how to create a new branch from a tag?

582    Asked by BernadetteBond in Tableau , Asked on Jul 13, 2021

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

Answered by Buffy Heaton

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.



Your Answer

Interviews

Parent Categories