i\'m working on a big python project, and i\'m really sick if .pyc and *~ files. I\'d like to remove them. I\'ve seen that the -X flag of git clean would remove
-X
If you have commited the pyc's and so on already, do the following:
Add *.pyc, *~ and local_settings.py to the .gitignore. Then do in your git repository:
find . -name '*.pyc' | xargs rm find . -name '*~' | xargs rm
then do:
git commit -am "get rif of them"
now they shouldn't bother you anymore