title: Error fatal: pathspec did not match any files using git rm to remove the pyc file
body: <p>I am currently reading a book called "Test-Driven Development with Python" In chapter1, I have to use</p>
  
  <pre><code>git rm -r --cached superlists/__pycache__
  </code></pre>
  
  <p>to remove all the .pyc files, I got the error the same in the title. I have searched many similar problems in this forum, I still cannot figure it out how to solve it. Hope someone could help me. Many Thanks  </p>