I just made a stage with:
git add .
When I wanted to reset, I used:
git rm .
Suddenly all the files are deleted!! I thought that it should be just the tree-working deleted, it acted like I did :
rm -rf ./*
Why did it delete all the files? And what command should I have used instead?