git缓存问题导致的无法忽略 作者: heky 时间: 2025-04-05 分类: 分享 缓存问题:Git 会缓存跟踪状态,即使添加了忽略规则,已跟踪的文件仍会被继续跟踪解决方案:git rm -r --cached /backend/tmp/ git add . git commit -m "停止跟踪 tmp 目录" 标签: git