如何只复制svn中发生变化的文件

发布于 2024-09-10 03:12:14 字数 182 浏览 9 评论 0原文

我的 svn 中有一个项目。我想把它复制到服务器上。

我可以将当​​前修订版从 svn 导出到我的本地目录。然后编写配置文件并使用 ftp 复制到服务器。是否可以通过智能方式做到这一点? IE。只复制更改过的文件?

我想要的是编写像 Makefile 这样的东西来将修订版本放在服务器上,如果有任何提示,我将不胜感激。

I have a project in my svn. I want to copy it at server.

I can export current revision from svn to my local directory. Than write a config file and copy with use of ftp to the server. Is it possible to do it in an inteligent way? I. e. copy only files which changed?

What I want is to write something like Makefile for putting revisions on server, I'll be grateful for any hints.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冷心人i 2024-09-17 03:12:14

查看 rsync 以将本地副本与服务器同步。

Have a look at rsync to synchronize your local copy with a server.

や莫失莫忘 2024-09-17 03:12:14

您可以使用 svn diff 准备补丁并将其应用到您的服务器上。

You could prepare a patch with svn diff and apply it on your server.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文