should .idea folder be tracked in version control
Hi,
I use git for version control. On importing an existing project I modified .gitignore to
exclude the .idea folder.
Then a thought occurred to me. Will this mess up the RubyMine system if I am
continuously swapping in and out of different branches.
Should the .idea folder be included in your VCS or not?
Joc
请先登录再写评论。
Hello Joc O'Connor,
For RubyMine, it's usually better not to store the .idea folder in version
control. Its contents are not related to the branch you're using.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Joc,
.idea folder is used to store RubyMine project settings, so if you don't want to share your settings with the whole team you have no need to add it to VCS.
Regards,
Oleg
Hi Oleg,
thanks for the quick reply.
I was more concerned whether the .idea folder would cause RubyMine to
become confused about the state of the source tree if I switched branches
and the source and local database were substantially different.
Joc
Thanks Dmitry,
when you move to a new development environment it can be difficult
to ascertain what the best settings are.
Joc