Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git combine two branches into third

git checkout -b branchAB merge-base
git merge branchA
git merge branchB
git rebase --onto merge-base merge-base branchAB
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #combine #branches
ADD COMMENT
Topic
Name
3+9 =