Overwrite a git branch with another
Samstag, 01. April 2017, 13:29 Uhr | roberto@vasquez-angel.de |Assume you have a branch_new branch and want to overwrite branch_old with its content:
git checkout branch_new
git merge -s ours branch_old
git checkout branch_old
git merge branch_new