.gitignore文件忽略以后不生效解决

已经在git忽略文件中写了目录信息,可是还是会产生git status 记录 原因: 本地git缓存造成 git rm -r --cached . # 清除缓存命令 git add . git commit -m 'update .gitignore' git push -u origin mast
posted @ 2024-02-29 16:07  刘星Stars  阅读(42)  评论(0编辑  收藏  举报