I have a few non-consecutive commits on the master branch that I'd like to flatten into one commit. How do I squash a, b, and c if I have the following commits?
a-b-x-y-c
(a is the newest commit)
The expected result would be:
D-x-y
(D is the squash of a, b, and c). Is this even possible?