哪些项目文件不应该签入SVN [英] What project files shouldn't be checked into SVN

查看:33
本文介绍了哪些项目文件不应该签入SVN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我检查了我的所有文件(包括 dll、VS 解决方案文件、图像等).我经常需要将这些文件签出到临时服务器或其他开发人员,因此将这些文件放在那里意味着项目已经准备就绪.

At the moment I check in all my files (including dll's, VS solution files, images, etc). I often need to checkout these files to a staging server or to a another developer and so having these files there means the project is setup there all ready to go.

这里的最佳做法是什么?

Whats the best practice here?

如果我不添加生成的文件,如 dll 文件,我如何确保在更新临时服务器时它们存在?

If I don't add the generated files like the dll files how do I ensure they are present when updating the staging server?

推荐答案

我通常只检入未生成的文件 - 所以源文件、配置文件、项目文件,而不是目标文件 - dll 的 exe 的 jar 等.

I usually only checkin files that are not generated - so source, config files, project files, but not object files - dll's exe's jar's etc.

这篇关于哪些项目文件不应该签入SVN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆