Reputation: 78234
I have been working on my dev branch for sooo long that nothing in my master is relevant. I would like to totally wipe master clean so I can merge my dev branch in master with a clean slate.
How do I do that?
Upvotes: 0
Views: 96
Reputation: 2675
You can make master be the exact copy of dev by doing the following:
git checkout dev
git push origin dev:master
Upvotes: 0
Reputation: 23848
Why not just delete master and rename your branch to master assuming this is not shared
Upvotes: 1