From a8a96d634907f6d23d5a4c8516313dd896cbcc61 Mon Sep 17 00:00:00 2001 From: Muhammad Saad <155970679+MuhammadSaad897423@users.noreply.github.com> Date: Fri, 9 May 2025 22:54:20 +0500 Subject: [PATCH] Update 01_remove_all_pyc.md bug fix --- scripts/01_remove_all_pyc.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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`