I have the habit of making a huge number of small commits, and I\'m fine with it. But I would like to, from time to time, take a bunch of those linear commits and collapse t
Suppose you want to rewrite the history of the tree going back until (but not including) commit a739b0d.
a739b0d
export EDITOR=vim # or your favorite editor git rebase a739b0d --interactive
Be sure to read up on interactive rebasing first.