o not
want to add it to your commit. You can remove the file from the index
while keeping your changes with git reset.</p>
</div>
<div class="listingblock">
<div class="content">
<pre>$ git reset -- frotz.c                      <b class="conum">(1)</b>
$ git commit -m "Commit files in index"     <b class="conum">(2)</b>
$ git add frotz.c                           <b class="conum">(3)</b></pre>
</div>
</div>
<div class="colist arabic">
<ol>
<li>
<p>This removes the file from the index while keeping it in the