We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc74b9 commit 6b4c4aeCopy full SHA for 6b4c4ae
.gitignore
@@ -0,0 +1,2 @@
1
+.pyc
2
+.DS_Store
remove_all_pyc.md
@@ -0,0 +1,9 @@
+I always forget this ...
+
3
+To recursively remove all those pesky *.pyc* files from a git repo, run this command:
4
5
+```bash
6
+$ find . -name "*.pyc" -exec git rm -f {} \;
7
+```
8
9
+Then make sure to add a *.gitignore* and the root of the repo and add the line: `*.pyc`
0 commit comments