I deleted some files.
I did NOT commit yet.
I want to reset my workspace to recover the files.
I did a git checkout .
.
But the deleted files are still missing.
And git status
shows:
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# deleted: cc.properties
# deleted: store/README
# deleted: store/cc.properties
#
Why doesn't git checkout .
reset the workspace to HEAD
?