On Mon, Mar 18, 2019 at 11:54 AM Junio C Hamano <gitster@xxxxxxxxx> wrote: > I often find "git reset --hard <some other starting point>" after a It still bugs me that I need to use this to abort some in-progress operation. There's "git X --abort" but I would need to find out what X is first. I would like "git abort" or something (and "git continue") but haven't really thought that through yet. That direction may also lead to "git undo" which is another can of worms. > failed "git checkout -b new <starting point> && git am -s3c", so I'd > be opposed to a change to refuse a "reset --hard" during the middle > of such a stateful operation, but I do not think of a reason why I > would want to "switch" in the middle. -- Duy