I am in a kind of limbo. I had one branch named Branch_A along with the master branch which were exactly the same. I was supposed to make new branch Branch_B and commit/push every thing on that branch. Unfortunately, I committed every thing on master branch. I have one local branch Branch_B where are all file were committed. I was supposed to commit all those on Branch_B remotely but I did it in master branch. Now I want to do the following:
- Make remote Branch_A the master branch and keep remote Branch_A as it is
- Make remote branch B and push the commits from local branch B there.
What is the best way to achieve this?