开发者

Where to put "tool" artifacts specific in source control?

开发者 https://www.devze.com 2023-02-11 03:38 出处:网络
I have a project that I created with IDEA. I have created a mercurial repository with the source code and included the IDEA specific files ( .idea/workspace.xml and the rest )But I don\'t think this

I have a project that I created with IDEA.

I have created a mercurial repository with the source code and included the IDEA specific files ( .idea/workspace.xml and the rest ) But I don't think this is needed and/or may distract people using other tools ( such as eclipse, netbeans or ant )

I'm thinking 开发者_开发技巧in creating a clone to put those files but I wonder if this would be the best strategy.

Where to put tool specific files in source control?


Put them right in their natural place in your VCS, along with the rest of the code base.
It won't "distract" anyone for any other tool.
And use of, for instance, Eclipse, will simply ignore those IDEA-specific files.
See "Do you keep your project files under version control?" for more details on this topic.

0

精彩评论

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

关注公众号