在Android Studio中导入了别的人Gradle项目,产生了 .idea文件夹, 然后git 发现了这个变动,修改了 .gitignore不起作用,仍然不能忽略这个文件夹

 

在项目目录里面 右键 git bash here

输入命令

git rm -rf --cached .idea

 

 

参考资料:phpstorm 的.idea 目录加入.gitignore无效的解决方法 - argb - 博客园 

 

相关文章:

  • 2021-11-05
  • 2018-03-31
  • 2021-05-16
猜你喜欢
  • 2021-12-23
  • 2021-06-01
  • 2022-12-23
  • 2021-07-07
  • 2022-02-27
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案