I use git rebase -i to overwrite history - in this case, make a small change for an earlier set of commit changes. In other words,
A
I know that C also changes implicitly, but you get the idea. Here is my progress:
git rebase -i HEAD~2- Change
B from keep to edit . - Edit the file.
git commit -a --amendgit rebase --continue- "Unable to apply [C] ..."
I resolved conflicting strings in C , but I'm not sure how to mark it as resolved in order to continue recovery. git commit --amend tries to change B , and git rebase --continue complains that the working tree is dirty. (And, of course, git status shows the file as “both modified”.)
What do I need to do to get this back?
git rebase conflict
Ben blank
source share