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

前端 未结 18 1995
隐瞒了意图╮
隐瞒了意图╮ 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:24

    Add .idea to ~/.gitignore_global and follow the instructions here to get .gitignore_global working:

    Git global ignore not working

    Then you don't have to ever add it to an individual .gitignore file.

提交回复
热议问题