一个Subversion管理项目的XCOPY部署ASP.NET [英] xcopy ASP.NET deployment of a Subversion-managed project

查看:89
本文介绍了一个Subversion管理项目的XCOPY部署ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用Subversion来管理我的ASP.NET网站。我发现,每当我去我的网站上传到我的服务器,我复制大量的隐藏.svn目录和任何内容可能在于在其中。

I'm currently using Subversion to manage my ASP.NET website. I'm finding that whenever I go to upload my website to my server, I'm copying a large number of hidden .svn folders and whatever contents may lie within them.

有没有人有避免这种有什么建议?我并不特别想在生产服务器上那些隐藏的.svn目录,但短期的手动删除每个.svn文件夹上传我的网站之前,我在为如何有一个免费的.svn文件夹生产环境损失

Does anyone have any suggestions for avoiding this? I don't particularly want those hidden .svn folders on the production server, but short of manually deleting each .svn folder before I upload my website, I'm at a loss for how to have a .svn-folder-free production environment.


编辑:谢谢大家,这些都是很好的建议,我真的AP preciate它

Thank you everyone, those are great suggestions, I really appreciate it!

推荐答案

你怎么样在服务器上运行颠覆,然​​后做从仓库SVN出口? SVN出口就像一个结帐,但W / O型的.svn目录(和/ O办在该目录颠覆工作的能力W)。

How about you run Subversion on the server and then do an svn export from the repository? svn export is like a checkout, but w/o the .svn folders (and w/o the ability to do Subversion work in that directory).

另外,做你的本地计算机上回购的SVN导出,然后FTP了出口版本。

Alternately, do a svn export of the repo on your local machine and then FTP up the exported version.

这篇关于一个Subversion管理项目的XCOPY部署ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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