I have a question about Git that I've never had to do, so I would like to learn!
In my project I branched off master
a while back; it is essentially a rewrite of the entire codebase, so let's call it rewrite
. In the time that I have been working on rewrite
I have also made and deployed some significant changes to master
. Now that my rewrite is coming to a close, I want to bring it up to speed with all the changes made on master since I started the branch.
Usually I would do something like git checkout rewrite && git rebase master
and then solve the conflicts as they arise, but this time around I can guarantee every commit with have a conflict since the codebase is entirely different.
tl;dr What I am wondering is how I would go about taking each commit on master
and one-by-one merging them into rewrite
, so I could do it at my own pace and possibly out of order if need be.