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

后端 未结 5 1029
攒了一身酷
攒了一身酷 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:53

    GitHub is maintaining a community "gitignore" project that catalogs suggested filespecs for ignores for various platforms, editors and languages: https://github.com/github/gitignore

    Eclipse ignores are here: https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore

    (If there are other filespecs that they should know about, let them know!)

提交回复
热议问题