When working with Eclipse, should I add the workspace to the source control?

前端 未结 6 1803
刺人心
刺人心 2020-12-15 10:06

I am the only developer on this project.

6条回答
  •  时光说笑
    2020-12-15 10:54

    Even if you are the only developer, avoid committing the .settings directory. You could switch to another version of Eclipse, or another installation with a different set of plugins, and when you checkout projects in the second installation the .settings directory will be different. Also the .metadata directory is bound to vary.

    That said, attempt to use Maven so that the Eclipse .project and .classpath files can be generated without requiring them to be checked in.

提交回复
热议问题