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

前端 未结 18 2016
隐瞒了意图╮
隐瞒了意图╮ 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条回答
  •  萌比男神i
    2020-12-07 09:24

    Close PHP Storm in terminal go to the project folder type

    git rm -rf .idea; git commit -m "delete .idea"; git push;
    

    Then go to project folder and delete the folder .idea

    sudo rm -r .idea/
    

    Start PhpStorm and you are done

提交回复
热议问题