git中.gitignore文件不起作用的解决

git rm -r --cached .
git add .
git commit -m 'update .gitignore'

 

posted @ 2018-08-03 17:59  一江西流  阅读(176)  评论(0编辑  收藏  举报