gitignore不生效的办法

一般是缓存的原因,清除本地git缓存 重新添加

git rm -r --cached .

git add .

git commit -m 'update .gitignore'

posted @ 2021-07-18 20:59  liliumss  阅读(75)  评论(0)    收藏  举报