Git configuration does not take effect, clear the cache

git rm -r --cached .
git add .
#### 好了重新提交一下
git commit -m 'update .gitignore'

Guess you like

Origin blog.csdn.net/weixin_45313494/article/details/126029646