I've forked project where I rewrote 90% of huge Makefile
. After reviewing my pull request, upstream maintainer proposed me to put all my changes in a new makefile beside of original to have a transition period.
Since I worked on main Makefile
it now has tens of my commits and now I should jump to a branching point, make a copy of original file as Makefile.new
and somehow apply all my commits on top of this new file to retain a history of my changes. Then I should revert all my changes from original Makefile
to retain its own history.
This isn't a case for rebasing, so I'm not sure how it can be achieved without handpicking all my commits.