Git has a bunch of procedures for altering history.
(rebase
, filter-branch
, commit --ammend
, guilt
, stacked git
, etc)
However, it may sometimes be preferable if there was a procedure to turn the last few commits into a file containing a series of patches with the commit metadata, which could be freely edited, and then turned back into a rebased history (assuming the patches still applied).
Does anyone have a way to do this?