added .pyc script

This commit is contained in:
Michael Herman 2014-04-09 20:56:32 -06:00
parent 6cc74b9195
commit 6b4c4aedb5
2 changed files with 11 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.pyc
.DS_Store

9
remove_all_pyc.md Normal file
View File

@ -0,0 +1,9 @@
I always forget this ...
To recursively remove all those pesky *.pyc* files from a git repo, run this command:
```bash
$ find . -name "*.pyc" -exec git rm -f {} \;
```
Then make sure to add a *.gitignore* and the root of the repo and add the line: `*.pyc`