I have a master branch. Then, I have an updated branch. How can I totally replace the content of master branch with the content of updated branch? I tried simple merge
git checkout master
git merge updated
The content of master branch wasn't updated.