I just modified 10 files in my project, and want to commit all these 10 files. What I did is:
git add -A
Then I found that this command add many untracked files, so I try to delete those untracked files from commit.
What I did (wrongly) is:
git rm -r --cached .
Then I found that I lost track of all files. Is there any command can recover my tracking file status?