If I completely delete a directory...
rm -r my_directory
...and then check out the directory...
git checkout my_directory
...how is it possible that when I then run...
git status
...I see a list of files in the directory I just checked out? How can I get the files on the server to match the latest revision of my git project? I have tried...
git reset --hard myhash
...but if I do that, and then run git status, I still see a lot of modified files "not staged for commit".