Help! I wanted to show a friend how great git is and how much it will improve is his life.
I improved his life by deleting all his work.
So what I did in this main working directory was this:
git init
git stage -A
// at this point he said: Oh, I dont want to stage xyz, so I wanted to unstage everything and add to .gitignore
git reset --hard
At this point all files were removed. git reflog doesn't help as there has never been any commits.
Please tell me I (git!) didn't remove everything he ever worked on or else... :)
git --version 2.7.4