title: git unable to rm --cached files
body: <p>I want to remove all my *.pyc files from version control. I've tried <code>git rm -r cached ./*.pyc</code> but I got the error <code>fatal: pathspec 'widgets.pyc' did not match any files</code>. I thought <code>widgets.pyc</code> is not in version control but <code>git status widgets.pyc</code> says that my file is on <code>branch master</code>.</p>
  
  <p>Any remedy for my problem?</p>