I have three branches:
master
old
test
Master and old are exactly the same, and test
holds all my changes and the whole new project. I want to replace master branch with test branch, and test branch (and old branch) to remain unchanged. How can I do this?
I've been thinking about:
git checkout test
git merge -s ours master
git checkout master
git merge test
Is this the safe way to do this?