Stupid git commit-tree tricks, Part 3: Building a throwaway commit in order to perform a combined cherry-pick-squash

1 · Raymond Chen · May 8, 2019, 2 p.m.
Suppose you have a series of commits you want to cherry-pick and squash onto another branch. The traditional way of doing this is to cherry-pick the series of commits with the -n option so that they all stack on top of each other, The post Stupid git commit-tree tricks, Part 3: Building a throwaway commit in order to perform a combined cherry-pick-squash appeared first on The Old New Thing....