android studio ignore 配置失效
android studio 配置了内容,但是没有生效,这就要清缓存了
git rm -r --cached .
git add .
git commit -m ‘update .gitignore’
如果最后一行报错了“error: pathspec ‘.gitignore’’ did not match any file(s) known to git.”,就运行指令
git rm -r --cached .
git add .
git commit -m ‘.gitignore’