I'm attempting to merge a long-standing branch, and not surprisingly, there's a fair number of merge conflicts which need to get resolved. I've worked through a fair number of them, git-add
-ing each file once the conflicts have been resolved.
However, I now realize that for some of the conflicts, resolution would be easier if I could temporarily go back to the pre-merge state, fix up the files, and then re-do the merge, at least for those files. (Specifically, part of the conflicts has to do with an automatic code formatting tool. I'd like to be able to run that same tool on the branch pre-merge, so that merging only has to deal with the non-auto-formatting changes.)
I know I can drop the merge entirely, but I have a large number of manual resolutions which I don't want to lose. Is there any way to save the manual resolutions such that they can be re-applied after I redo the merge?