title: How to remove files that are listed in the .gitignore but still on the repository?
body: <p>I have some files in my repository that should be ignored, i added them to the .gitignore but, of course, they are not removed from my repository.</p>
  
  <p>So my question is, is there a magic command or script using filter-branch that can rewrite my history and remove all these files easily? Or simply a command that will create a commit that will remove them ?</p>