Answers for "git branch from commit id"

C
1

how to checkout branch from commit id

git checkout -b <new_branch_name> <SHA1>
Posted by: Guest on June-25-2021
0

create a branch from old commit

git log --author=<name or email> // get user (press enter to find exact one)
git checkout -b justin a9c146a09505837ec03b //create and checkout branch
Posted by: Guest on July-14-2020

Code answers related to "C"

Browse Popular Code Answers by Language