Thursday, October 1, 2015

Remove .pyc files in your project



                         REMOVE .pyc FILES IN YOUR DJANGO PROJECT


  1. Remove .pyc files using git rm *.pyc. If this not work use git rm -f *.pyc
  2. Commit git commit -a -m 'all pyc files removed'
  3. Push git push
  4. In future commits you can ignore .pyc files by creating a .gitignore file

8 comments: