I discovered that my changes from yesterday are lost in git. I've investigated and found two fault commits that were made by one of our junior developers:
The selected commit message says merge but doesn't contain any reference to a commit that is merged. The next commit is actually saying "fixing failed tests" but is actually merge commit which has 0 changed, added or deleted files.
After this point, this branch was merged to develop and merged to several feature branches already.
So I know commit on this branch before the merge. I know commit on the develop that was merged.
How to fix history without losing changes? I was thinking to start with commit on the develop before merge and cherry pick all next changes avoiding this two commits. That is around 30-40 commits. Are there better strategy?


