Cancel git am --bort

I think I am excited, but there is anyway to cancel git am --abort

I used am, and there were some conflicts (as expected), I resolved these conflicts, but instead of executing, git am --continueI just performed as usual. Then, when I returned later, I noticed that I was still in am mode, but instead of doing it git am --skip, I did git am --abort, and now my commit has disappeared.

Of course, I could go through this process again, but itโ€™s better not to resolve the conflict.

EDIT: I solved my problem, but I'm still wondering if there is a more reliable solution. That is, cancel the cancellation, even if the patch has long disappeared.

+4
source share
1 answer

git . "" , am. YMMV , .

: git reflog, .

+1

All Articles