title: Ignored files show up in changes not staged for commit
body: <p>I have added </p>
  
  <pre><code>media/
  build/
  </code></pre>
  
  <p>in.git/info/exclude, and after that deleted (git rm) both directories. I need these rules in the exlude file rather than .gitignore because I only want that repo to ignore it, not the blessed repo or any other repo. However running</p>
  
  <pre><code>git status
  </code></pre>
  
  <p>still lists the deletion of all the contents of both dirs. How do I prevent this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here's what I have; a private repo on github, my local installation, some colleagues with their own local installation, and a server. The site is a Django site, so for performance the static media files are kept separate from the actual Django installation.</p>
  
  <p>However, locally we have the media file inside the Django root. Therefor the media directory is also in the blessed repo at github. But the server should ignore the directory, this is what I was trying to accomplish by adding the directory to the exclude file. But even though it's in there, it doesn't seem to get ignored.</p>
  
  <p>adymitruk was right about the build folder, I've added it to my general .ignore file.</p>