- Remove
.pycfiles usinggit rm *.pyc. If this not work usegit rm -f *.pyc - Commit
git commit -a -m 'all pyc files removed' - Push
git push - In future commits you can ignore
.pycfiles by creating a.gitignorefile
.pyc files using git rm *.pyc. If this not work use git rm -f *.pycgit commit -a -m 'all pyc files removed'git push.pyc files by creating a .gitignore file