title: What does "git checkout - ." do?
body: <p>I wanted to revert all local changes with</p>
  
  <pre><code>git checkout -- .
  </code></pre>
  
  <p>but accidently did</p>
  
  <pre><code>git checkout - .
  </code></pre>
  
  <p>and it made lots of local modifications that I can't understand at all.</p>
  
  <p>What does the second command do and is it possible to revert what was done?</p>