Answers for "create new branch from existing branch commit id"

1

git create branch with specific commit

 
# Create a new branch from previous commit's hash
git branch develop 04c900c
 
# Push the new branch to remote repository
git push --set-upstream origin develop
 
# Checkout the new branch
git checkout develop
 
Posted by: Guest on August-20-2020
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 "create new branch from existing branch commit id"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language