title: Deleted directory after git reset --hard @{u}
body: <p>I cloned an empty repo from github (let's named it repoA) and added a directory (named results) in it locally (so repoA/results)</p>
  
  <p>Then I did a <code>git add results</code> to add the results directory to the repo.
  Then <code>git commit -m "add results directory"</code>. Finally <code>git push</code></p>
  
  <p>During the push I had an error because of a too big file I forgot to remove :</p>
  
  <pre><code>Total 5660 (delta 2779), reused 0 (delta 0)
  remote: Resolving deltas: 100% (2779/2779), done.
  remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
  remote: error: Trace: 7b1b7d4f8a8e398ef7184a6410f06c66
  remote: error: See http://git.io/iEPt8g for more information.
  remote: error: File results/quality/R1.linker.fastq is 360.01 MB; this exceeds GitHub's file size limit of 100.00 MB
  To https://github.com/XXX/repoA.git
   ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: impossible de pousser des références vers 'https://github.com/XXX/repoA.git'
  </code></pre>
  
  <p>So I deleted in local the big file. and then <code>git commit -m "delete big file"</code>
  I tried <code>git push</code> again but I had the same error.</p>
  
  <p>I tried <code>git reset</code>  and <code>git checkout</code> with no impact.</p>
  
  <p>Then I did  <code>git reset --hard @{u}</code></p>
  
  <pre><code>HEAD is now at 78022b7 Initial commit
  </code></pre>
  
  <p>But now the /results directory disappeared from my computer and is not pushed on github ... Is there anything to do to repair my (stupid) error. These results were quiet valuable for me ..</p>
  
  <p>Thanks a lot</p>
  
  <blockquote>
    <p>Edit</p>
  </blockquote>
  
  <p>As suggested I did I did <code>git reset 2f6116c</code> :</p>
  
  <pre><code>Modifications non indexées après reset :
  D   results/benchmarkBlast/benchmarkBlast.R
  D   results/benchmarkBlast/benchmark_blast_bowtie_01092017.jpg
  D   results/benchmarkBlast/benchmark_blast_bowtie_01092017.pdf
  D   results/benchmarkBlast/bowtie2_10000000_1_LTR.txt
  D   results/benchmarkBlast/results/BLV/blast_1000000_10_10_BLV.txt
  D   results/benchmarkBlast/results/BLV/blast_1000000_10_1_BLV.txt
  D   results/benchmarkBlast/results/BLV/blast_1000000_10_2_BLV.txt
  etc..
  </code></pre>
  
  <p>and still nothing in my directory ?
  D   figures/benchmarkBlast/results/BLV/blast_1000000_10_3_BLV.txt</p>
  
  <blockquote>
    <p>Edit</p>
  </blockquote>
  
  <p>I solved by doing :</p>
  
  <pre><code>git reset -- results
  git checkout -- results
  </code></pre>