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:
Binary file not shown.
Reference in New Issue
Block a user