
record the current content of the listed files (which must already
be known to Git);</p>
</li>
<li>
<p>by using the -a switch with the <em>commit</em> command to automatically
"add" changes from all known files (i.e. all files that are already
listed in the index) and to automatically "rm" files in the index
that have been removed from the working tree, and then perform the
actual commit;</p>
</li>
<li>
<p>by using the --interactive or --patch switches with the <em>commit</em> command
to decide one by one 