Git Replace Master Branch

git checkout THE-NEW-BRANCH
git merge -s ours master
git checkout master
git merge THE-NEW-BRANCH

Leave a Reply