Say I have a very simple branch like this
A -- B -- C -- D -- E
*         *         *
in which A, C and E changed file F (i.e. B, D has nothing to do with F). What I'm trying to do is to extract A, B, E and then recombine them into a new branch:
A -- C -- E (new branch)
I don't know how to do it or if it's possible. Thanks.
 
    