title: git: How to recover uncommited changes from staged deleted file?
body: <p>I did with git:</p>
  
  <pre><code>git commit fileA
  </code></pre>
  
  <p>Then I edited <code>fileA</code></p>
  
  <p>Then I accidentally performed</p>
  
  <pre><code>git rm fileA
  </code></pre>
  
  <p>Is there a way to recover the <code>fileA</code> from after performing the <code>git rm</code>?  <code>git reset</code> and <code>git checkout</code> will discard my edits and get the <code>fileA</code> from after the commit.</p>