0

Recently I rebased my local branch from a master branch, but I messed up. It seems that sometimes I accidentally staged the merge-conflict directly, and I ended up with a bunch of <<<< in my files.

Now it was relatively easy to fix those error in a new commit, which currently sits on top. But I don't want want it to be a new commit, I actually want to change all the commits.

Is it possible to apply those changes from the last commit, recursively to all commits, and if there is a conflict let git choose the change of the last commit?

Maik Klein
  • 15,548
  • 27
  • 101
  • 197

0 Answers0