使用开发和生产服务器设置 SVN
版本控制的开发和生产环境的最佳实践是什么?
我想我的问题实际上是,当您想要部署已在开发环境中最终确定的功能时,如何将开发更改提交到生产服务器?试图寻找答案但没有成功。
我以前使用过 SVN,但从未自己设置过,所以我是新手:)
What would be the best practice for a version controlled development and production environment?
I guess my question really is how do you commit the development changes to the production server when ever you want to deploy a feature you've been finalizing in the development environment? Tried to search for the answer without success.
I have used SVN with before, but never set it up myself, so I'm a newbie :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用分支来达到这种目的。使用一个分支(通常用于开发)和另一个分支用于生产...此外,您通常有一个当前版本的分支,假设您正在准备 1.2.0,那么您在主干中有一个分支 1.2.0,您可以执行当前的操作开发......在分支中,您只能修复该特定版本的错误......等等。对于其他版本,您也可以有分支..
You can use branching for this kind of purpose. Use one branch (usually trunk for development) and an other branch for production...furthermore you have usually a branch for your current release lets say you are preparing 1.2.0 so you have a branch 1.2.0 in trunk you can do current development....in the branch you can bug fixing only for that particular version....etc. for other releases you can have branches as well..