Accidentally, I have pushed the .pyc files to the master repository. Now I want to delete them but I can´t do it. Is there any way to remove them directly from the Bitbucket sit
This works for me,
find . -name '*.pyc' | xargs -n 1 git rm --cached