문제

RubyMine generates some files in the .idea directory. In one of my projects I see:

  • 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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top