Suppose I am trying to rebase my current branch which has changes on top of master :-
And am presented with an interactive window like this with all the new commits listed:
pick A Commit message A
pick B Commit message B
pick C Commit message C
pick D Commit message D
pick E Commit message E
And I want to squash E to C and not to the previous commit D. Is there a way to do that?
Coz If I do this
pick A Commit message A
pick B Commit message B
pick C Commit message C
pick D Commit message D
squash E Commit message E
it will always squash E to D but I want to squash E into some previous commit that I can choose like C or B or A.