fix(gitignore): 补 __pycache__/ 与 *.pyc,并撤出误入库的字节码

自己违反了正本 §1.4:上一个提交把 scripts/__pycache__/*.pyc 带了进去,
而 .gitignore 里没有这条规则。这正是正本说的"只查规则在不在不够,
还要查 git ls-files 里有没有漏网的"。

修法:规则补上 + git rm --cached 撤出(保留磁盘文件)。
验证:git ls-files 里不再有 .pyc / __pycache__。
This commit is contained in:
姚章浩
2026-10-10 16:26:24 +08:00
parent 85f2471626
commit c26288b108
2 changed files with 5 additions and 1 deletions
Binary file not shown.