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
another liner for fun to remove all the pyc files.
find . -name '*.pyc' -exec git rm {} \;
don't forget to follow the steps in other answers to commit and add gitignore.