diff --git a/scripts/01_remove_all_pyc.md b/scripts/01_remove_all_pyc.md index f666e1a..644040b 100755 --- a/scripts/01_remove_all_pyc.md +++ b/scripts/01_remove_all_pyc.md @@ -2,8 +2,9 @@ I always forget this ... To recursively remove all those pesky *.pyc* files from a git repo, run this command: +Then make sure to add a *.gitignore* in the root of the repo and add the line: `*.pyc` ```bash $ find . -name "*.pyc" -exec git rm -f {} \; ``` -Then make sure to add a *.gitignore* in the root of the repo and add the line: `*.pyc` \ No newline at end of file +Then make sure to add a *.gitignore* in the root of the repo and add the line: `*.pyc`