gitignore 忽略文件不生效处理方法 西门长海 2023-09-11 48 阅读1分钟 执行一下脚本即可: git rm -r --cached . git add . git commit -m 'update .gitignore' git rm -r --cached . git add . git commit -m 'update .gitignore' git push