We track a vendor's upstream version releases of a software product in git repositories we have set up. We make changes to this product in cloned git repositories. When a new version is released we git merge
the changes into our custom repository and fix any merge conflicts between their changes and our changes.
The vendor provides releases in our local language and a worldwide language. We have only been tracking the local language but now after 10 merged releases we have realised that we need to be tracking the worldwide language so we can bring in changes from other vendors integrating with this software.
The commit history looks like this. Each \
is a merge between the two repositories.
local A - B - C - D
\ \
custom E - F - G
We need it to look something like
global X - Y - Z
\
local A - B - C - D
\ \
custom E - F - G
Is git reparent the answer for this or something else? I've looked at how to re-parent in Git and Setting git parent pointer to a different parent but I still wasn't clear on if this was the right thing to do.