I have:
A--B (master)
\
C--D (bad-branch)
\
E--F (my-branch)
The result i want:
A--B (master)
\
E--F (my-branch)
I tried rebase my-branch
onto master
but when i push my-branch
to repo, it's merged with the origin and the bad commits with the changes come back.