It took one branch to another. When merging, there was a conflict in one file. When resolved, the file was edited incorrectly. How can I undo changes in a file?
To make it the same as it was immediately after the merger attempt, I tried to do so.
git checkout myfile.c received an answer
error: path 'myfile.c' is unmerged
The rest did not try, so as not to do harm by accident.