title: Ignoring files in Git after they have been committed
body: <p>I have recently switched to git.</p>
  
  <p>In my previous and first commit since using git, I noticed it also listed the pyc files during the commit. I didn't think anything about it and commited and pushed them.</p>
  
  <p>Now I realize they keep getting updated during the development and its very annoying seeing them in the list. It just produces too much noise.</p>
  
  <p>I did some research and did <code>echo "*.pyc" &gt;&gt; .gitignore</code> in the project directory.</p>
  
  <p>This didn't help though as the pyc files are still being shown. Could it be that because I have previously committed those pyc files I can no longer ignore them? (since they are tracked now and the state has changed again) If so I am damned forever or is there still hope to delete the files in the hindsight from the repository?</p>
  
  <p>Thanks</p>