2014-04-10 04:56:32 +02:00
|
|
|
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 {} \;
|
|
|
|
```
|
|
|
|
|
2015-10-16 07:12:38 +02:00
|
|
|
Then make sure to add a *.gitignore* in the root of the repo and add the line: `*.pyc`
|