解决办法:清理下 git 缓存即可执行以下命令
#删除git缓存git rm -r --cached .git add .git commit -m 'update .gitignore'
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。