• 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 a custom software development company co-founded by full-stack .NET Software developer Alex Shapovalov who lives in Mississauga, ON and provides software development services in Mississauga and GTA.

Contact Information

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