title: How to make a simple revert work on Git / EGit?
body: <p>Ok. Simple things should be simple, so I hope it is. :)</p>
  
  <p>I have changed a file, now I want to revert back to the latest version in the git repo because my changes are crap and I want to start fresh again changing the file.</p>
  
  <p>As far as I am concerned you should do this:</p>
  
  <p><code>git checkout -- &lt;NAME OF FILE&gt;</code></p>
  
  <p>First question: How to do this inside eclipse with EGit? There is no checkout option under team. :( :( :(</p>
  
  <p>Now let's suppose I have multiple files modified in multiple directors. How do I revert all of them to start fresh again?</p>