Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Git replace master branch, entirely, from another branch

git checkout new_branch
git merge -s ours master
git checkout master
git merge new_branch
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Git #replace #master #branch
ADD COMMENT
Topic
Name
9+7 =