开发者

Which RubyMine generated files should I commit?

RubyMine generates some files in the .idea directory. In one of my projects I s开发者_Python百科ee:

  • project_name.iml
  • encodings.xml
  • misc.xml
  • modules.xml
  • vcs.xml
  • workspace.xml

Which should I commit to the version control system and which shouldn't?


As stated on http://www.jetbrains.net/devnet/docs/DOC-1192:

RubyMine stores project configuration files under .idea directory that is auto-created in project root folder.

For better collaboration between project team you should put under the version control all the files under .idea directory in the project root except the workspace.xml and tasks.xml files which store user specific settings.


For RubyMine, it may be preferable not to share the project files at all, because much more of the stuff is configured automatically based on your local settings (like the gems that you have installed locally).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜