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 new branches, and makes my version of .idea/
different from my coworkers.
We already added .idea/
to .gitignore
, but it keeps tracking changes in .idea
. How should I do this the right way?
Below is one of typical error messages I got:
error: Your local changes to the following files would be overwritten by checkout:
.idea/workspace.xml
just .idea/
works fine for me