title: How do I Git Commit all (.) except one file?
body: <p>Hi all I have done git rm on few files and have modified one file. I want to know how can I do <code>git commit .</code> to commit deleted files with excluding the modified file.</p>
  
  <p>Is there anything like</p>
  
  <pre><code>git commit -m "Files deleted" . -exclude scripts/process_old_FBA_orders.php
  </code></pre>
  
  <p>Below is my git status</p>
  
  <pre><code>Changes to be committed:
    (use "git reset HEAD &lt;file&gt;..." to unstage)
  
      deleted:    help/he_about.html
      deleted:    help/he_glossary.html
      deleted:    help/he_index.html
      deleted:    help/he_jadmin/ad_index.html
      deleted:    help/he_jadmin/ad_server_info.html
      deleted:    help/he_jadmin/ad_users.html
      deleted:    help/he_orders/or_index.html
      deleted:    help/he_products/pr_index.html
      deleted:    help/he_reports/re_index.html
      deleted:    help/he_setup/se_index.html
      deleted:    help/he_stock/st_index.html
      deleted:    help/he_stock/st_needed_items.html
      deleted:    help/he_stock/st_purchase_orders.html
      deleted:    help/he_stock/st_stock_orders.html
      deleted:    help/he_stock/st_stocked_items.html
      deleted:    help/he_stock/st_suppliers.html
      deleted:    help/he_stock/st_suppliers_items.html
  
  Changes not staged for commit:
    (use "git add &lt;file&gt;..." to update what will be committed)
    (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
  
      modified:   scripts/process_old_FBA_orders.php
  </code></pre>