title: git commit, change to existing file is handled differently
body: <p>I checked out an existing branch, <em>lessons</em>, and started to change some files, and deleted one.</p>
  
  <p>After doing <code>git add .</code> and <code>git commit</code>, some changes where committed, but others were separated at the end of comment text. As far as I understand, I have to do some operation manually.</p>
  
  <p>So, for the deleted file I did <code>git rm file.name</code>. I got this part.</p>
  
  <p>What should I do with lines 14-17?</p>
  
  <p>All those files were created much earlier, there are not new.</p>
  
  <p>Thank you very much!</p>
  
  <pre><code>  1 
    2 # Please enter the commit message for your changes. Lines starting
    3 # with '#' will be ignored, and an empty message aborts the commit.
    4 # On branch lessons
    5 # Changes to be committed:
    6 #   (use "git reset HEAD &lt;file&gt;..." to unstage)
    7 #
    8   deleted:    ../layouts/]
    9 #
   10 # Changes not staged for commit:
   11 #   (use "git add &lt;file&gt;..." to update what will be committed)
   12 #   (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
   13 #
   14 # modified:   ../courses/show.html.slim                                                                                                   
   15 # modified:   ../layouts/_header.html.slim
   16 # modified:   ../student_levels/_student_level.html.slim
   17 # modified:   ../subjects/_subject.html.slim
   18 #
  </code></pre>