Why don't just use "git reset --hard <sha-of-the-better-branch>"?
At least if the better-branch and master commit in common is the last commit in master so no history rewrite will happen when pushing.
Why don't just use "git reset --hard <sha-of-the-better-branch>"?
At least if the better-branch and master commit in common is the last commit in master so no history rewrite will happen when pushing.