I have the following situation:
branch A -- a1 -- a2 -- a3
\
branch B -- b1 -- b2
\
branch C -- c1 -- c2
I want to git rebase branch C to branch A, but discard all changes that were made as part of branch B, so it looks like something like this
branch A -- a1 -- a2 -- a3 -- c -- c1 -- c2 (but without any changes made from B, b1, b2)
What is the cleanest approach to do this?