I have 2 branches with commits.
- Branch A and its commits is clean and was pushed to remote
- Branch B has commits from Branch A, but was pushed to remote as well
Branch B looks something like:
- commit from Branch B
- commit from Branch B
- commit from Branch A
- commit from Branch A
- commit from Branch A
- commit from Branch A
- commit from Branch A
This happened because of a wrong rebase..
Before I make a merge request for Branch B I would like to fix it and remove all commits from Branch A.
What is the best way of doing this?