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 new branch from existing tag. It can be done using git checkout command.

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



Comments

Social media

Search

Latest Tweets