Answers for "git checkout specific commit and create branch"

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

checkout git specific commit

$ git checkout kors-2757-g5f6ba67
Posted by: Guest on July-07-2021

Code answers related to "git checkout specific commit and create branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language