I know it's anti-pattern but I have a LOCAL branch (and no other branch is based on this one) that is like that :

`D <-- C <-- B <-- A <-- HEAD`

I did it without testing and I need it to become like that

`D <-- C <-- A <-- HEAD` (I added some packages in B that I want to remove)

And later (if everything works correctly), I would like to make it :

`D <-- C <-- A <-- B <-- HEAD` so it would be great if I can keep the changes made in B to be able to choose if I want to re-apply them but later in the history.