Re: `git reset` for delete + intent-to-add doesn't reset
- Date: Mon, 7 Jan 2019 23:29:47 -0800
- From: Anthony Sottile <asottile@xxxxxxxxx>
- Subject: Re: `git reset` for delete + intent-to-add doesn't reset
On Mon, Jan 7, 2019 at 11:25 PM Anthony Sottile <asottile@xxxxxxxxx> wrote:
> Even `git reset --intent-to-add -- a` or `git checkout -- a` don't
> seem to clear the `intent-to-add` state
> How do I reset the intent-to-add status in this case?
Pressed send too quickly, it appears I can use `git rm --cached -- a`
to undo that.