SyntaxFix
Write A Post
Hire A Developer
Questions
git checkout old_branch git branch new_branch
This will give you a new branch "new_branch" with the same state as "old_branch".
This command can be combined to the following:
git checkout -b new_branch old_branch