• Home /
  • Blog /
  • How to create branch from tag name in Git
Git Tutorials

How to create branch from tag name in Git

Usually after deployment to production environment a new tag created in git marking successful production deployment, so later when working on defects it would be much easy to investigate any issues, having the same code as deployed to production. The best way to work with git tags is to create a new branch from the existing tag. It can be done using git checkout command.

git checkout -b new-branch-name tag-name

Comments

Yaplex - Freelance developer - white logo on black background

Yaplex is an IT Consulting and .NET development company co-founded by freelance developer Alex Shapovalov who lives in Canada and provides software development services in Canada, USA and all over the world.

Contact Information

Toronto, Canada
Phone: +1 647 328 3809
Email: alex@yaplex.com