vim .gitignore , **代表所有子目錄
--pycache--
**/--pycache--
*.pyc
由于git有本地緩存,需要刪除緩存趋惨,否則不生效
git rm -r --cached .
git add .
git commit
vim .gitignore , **代表所有子目錄
--pycache--
**/--pycache--
*.pyc
由于git有本地緩存,需要刪除緩存趋惨,否則不生效
git rm -r --cached .
git add .
git commit