I have two branches. Staging and Beta. Staging has code in it ( including files ), that I do not want at all. How can I make Beta completely overwrite Staging, so that none of t
If the history of staging is not going to be an issue, you can simply do this.
git checkout staging git reset --hard beta
Just remember the history of staging will be gone after the above command and staging will have the work of your beta branch.