What of Eclipse project .metadata can I safely ignore in Git/Mercurial?

后端 未结 5 1122
攒了一身酷
攒了一身酷 2021-01-30 03:36

We have the code for an Eclipse RCP application in an Eclipse workspace containing multiple Java projects. We are using Mercurial with a simple .hgignore just *.class (but the s

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-30 03:45

    I routinely keep .project and .classpath, not only are they safe for git but useful.

    .class and .settings are in my gitignore. Those are generated and person specific respectively.

提交回复
热议问题