开发者

Should I add the .metadata folder to the source control?

开发者 https://www.devze.com 2023-01-05 19:06 出处:网络
I\'ve created a project using PyDev plugin for Eclipse. Now I need to add necessary files to the repository and unnecessary files to the ignore li开发者_如何学Cst. What should I do with the .metadata

I've created a project using PyDev plugin for Eclipse. Now I need to add necessary files to the repository and unnecessary files to the ignore li开发者_如何学Cst. What should I do with the .metadata folder?


.metadata stores your workspace settings (not the project settings). I'm not sure what exactly it contains but I think it has many settings about your personal preferences or that are local to your PC, so it may not be a good idea to add it if you're going to work in a team.

Sadly enough, the project related metadata (in .project and .settings) is a mix of local/personal data and data that is the same for everyone, and it's hard to split that up.

0

精彩评论

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

关注公众号