Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create new branch from commit

git branch branch_name <commit-hash>

git checkout branch_name
git push --set-upstream origin branch_name
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #branch #commit
ADD COMMENT
Topic
Name
7+1 =