I want to delete all my * .pyc files from version control. I tried git rm -r cached ./*.pyc but got fatal: pathspec 'widgets.pyc' did not match any files error fatal: pathspec 'widgets.pyc' did not match any files . I thought widgets.pyc not in version control, but git status widgets.pyc says my file is on branch master .
Any remedy for my problem?
goh
source share