I executed git add .
by accident: I wanted to execute git --patch
instead because I know that I want my changes to go into three different commits.
I took back my mistaken git add .
with git reset
. git status
then correctly listed all files waiting for being processed. However, git --patch
does not do anything.
I tried git rm -r --cached
instead of git reset
, with exactly the same result.
I wonder whether this is a bug…