I have a Git repo with two massively diverged branches A and B:
- A is the upstream branch of the open source software
- B are all changes we made to it (from a very early commit from A as a starting point)
What we would like to have is
- A as above
- B having all the changes we want to make available to the upstream developers
- C with all the changes which only apply to our specific use of the software
So I find myself in the situation of having to split up the changes in B into two parts and commit them to different branches. What I did until now is to have two checkouts of the repository (B and C)
Is there a built-in git tool or a workflow that handles this case?