Last Updated: February 25, 2016
·
10.19K
· swathik

Overwrite master branch with current branch in git

To overwrite master branch with current branch

git checkout current_branch
git merge -s ours master
git checkout master
git merge current_branch

1 Response
Add your response

Why would you do that?

over 1 year ago ·