Re: [PATCH v4 00/26] Add new command 'switch'
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 18, 2019, 12:13 UTC
- Message-ID
- <CACsJy8B+VmwygpxWQ9Ug=L8bQXDVX7h6MjJwVU1cR2sbuHo6qQ@mail.gmail.com>
- In-Reply-To
- <xmqq4l806avp.fsf@gitster-ct.c.googlers.com>
On Mon, Mar 18, 2019 at 11:54 AM Junio C Hamano <gitster@pobox.com> 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