I am currently reading a book called "Test-Driven Development with Python" In chapter1, I have to use
git rm -r --cached superlists/__pycache__
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