title: git ignore doesn't ignore already submitted files?
body: <p>This is my .gitignore file:</p>
  
  <pre><code>src/main/resources/*
  !src/main/resources/input
  </code></pre>
  
  <p>In the past i submitted a few files under <code>resources</code> folder.</p>
  
  <p>Now I see some files are still monitored by git (as changed)
  even if they are under <code>src/main/resources/foo1</code></p>
  
  <p>how come the git ignore don't hide these files from the <code>git status</code>?</p>