I'm a bit new with git, and decided that I would jump right into it rather than giving myself a proper tutorial. After a month of working on a project, I've gotten myself into a little trouble. I decided at one point in time that I didn't like how a particular piece of code was turning out, so at that point, B, I branched to E, deleted the offending file, and recreated it as a whole new file. Obviously the best thing to do would have been to git rm instead of just deleting the file... I now need to rebase E to branch off of C, but am not sure how to manage that, because of conflicts with the rebase, since the file changes in both branches. My goal is basically to have the branch starting at E continue with the new file, but to incorporate the changes of C into the new branch. Any help in figuring out how to manage rebasing this, would be greatly appreciated.
A -> B -> C -> D
\
E -> F -> G