I've attached an image to illustrate my question.
In Commit C
hundreds of files were added. In Commit D
a few files were added. When D
tried to merge back to develop
there was a merge conflict. The developer that resolved the conflict did so by deleting everything that was added in C
. After which, several commits were added before it was realized.
Now I'm trying to get additions from C
back into the stream. But simply merging C
to develop
won't work because the git history shows the files in C
were deleted in D
.
I don't know how to resolve this issue without combing through the files in C
, adding them to a new branch, and creating a PR for that branch (which would be painful, there are hundreds of files).
Also, force-pushing is unavailable. We could get them temporarily, but the bureaucratic powers at be would have to get involved so I'm trying to avoid that if possible.
Does anyone know how to navigate this gitastrophy?