title: How do I revert all local changes in Git managed project to previous state?
body: <p>I ran <code>git status</code> which told me everything was up to date and there were no local changes.</p>
  <p>Then I made several consecutive changes and realized I wanted to throw everything away and get back to my original state. Will this command do it for me?</p>
  <pre><code>git reset --hard HEAD
  </code></pre>