从 Subversion 部署网站 [英] Deploying a Website from Subversion
问题描述
我是 Subversion 的新手,想知道您是如何从开发阶段过渡到生产阶段的?
I am new to subversion and am wondering how do you move from develoment to staging then production?
我想我掌握了为发布创建分支的概念 详情见这里.但是我如何实际部署分支?
I think I grasp the concept of creating branches made for releases as detailed here. But how do I actually deploy the branch?
理想情况下,我可以建立一个新网站并从分支复制文件,但我担心将任何 svn 绑定复制到生产环境中.
Ideally I could just set up a new website and copy the files over from the branch, but I am concerned about copying any svn bindings into production.
如果相关,这是一个 Visual Studio 网站项目,我正在使用 VisualSVN 服务器、TortoiseSVN 和 Ankh 与 Visual Studio 集成.
If it is pertinent, this is a Visual Studio website project and I am using VisualSVN server, TortoiseSVN and Ankh to integrate with Visual Studio.
推荐答案
svn export
导出不包括所有 subversion cruft 的文件
Exports the files excluding all the subversion cruft
这篇关于从 Subversion 部署网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!