title: How to revert a "git rm -r ."?
body: <p>I accidentely said <code>git rm -r .</code>. How do I recover from this?</p>
  
  <p>I did not commit.</p>
  
  <p>I think all files were marked for deletion and were also physically removed from my local checkout.</p>
  
  <p><em>EDIT:</em> I could (if I knew the command) revert to the last commit. But it would be a lot better if I could just undo the <code>git rm -r .</code>. Because I am not really sure what I did after the last commit and before the <code>git rm -r .</code>.</p>