I've made a terrible mistake. I did:
Code:
$git init
$git add -A *.cpp
//I didn't want all the sub-directories as well...
$git rm -r *.*
//Hm, doesn't work. Do --force or --cached?
$git rm -r --force *.*
WHOOPSIE!
It seems all the objects do exist in the git directory. They're just totally unindexed. I'd like to access them. Anybody have any experience with this? Know a good resource? HALP! Please.
(The fun part is that before a commit there is no HEAD and usual revert techniques don't work.)