Rubymine: How to make Git ignore .idea files created by Rubymine

前端 未结 18 2067
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 08:35

I use Rubymine for Rails projects. Very often, Rubymine makes changes in .idea/* files that I don\'t care about. But it keeps preventing me from checking out ne

18条回答
  •  被撕碎了的回忆
    2020-12-07 09:12

    I tried to added those files into my .gitignore and it was useless...

    Nevertheless, as Petr Syrov said, you can use git rm -r --cached .idea into your terminal and those files won't be a problem anymore!

提交回复
热议问题