title: Overwriting local changes in Git
body: <p>I am using Git in Visual Studio and am getting this error when trying to pull:</p>
  
  <pre><code>An error occurred. Detailed message: 1 uncommitted change would be overwritten by merge
  </code></pre>
  
  <p>However when I try and commit it won't let me because I have to pull first, so it's a vicious cycle.</p>
  
  <p>There doesn't seem to be anything much on how to fix this error from within Visual Studio.</p>
  
  <p>How can I just get the latest version on the server and overwrite my local changes?</p>