title: .gitignore doesn't ignore files
body: <p>My <strong>.gitignore</strong> file gets ignored and the files which should be ignored are still visible.</p>
  
  <pre><code>user@host ~/workdir % git status
  # On branch master
  # Changed but not updated:
  #   (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:   .htaccess
  #       modified:   application/controllers/statistics.php
  #
  no changes added to commit (use "git add" and/or "git commit -a")
  user@host ~/workdir % cat .gitignore
  .htaccess
  application/config/config.php
  application/config/database.php
  user@host ~/workdir %
  </code></pre>
  
  <p>The files are in version control, but with sensible changes I dont want to push. <strong>git rm ...</strong> is not an option because the files should be in version controll (with other settings in the files). I just dont want to push my changes on this files.</p>