svn 没有本地副本
我处于这种情况:我正在与 cakephp 网站上的远程开发人员合作。
他处理本地副本(php 等)并更新临时服务器。我通常直接在远程登台服务器上进行编辑(主要是 CSS 和文本更改),因为我无法运行网站的本地副本。对于不在我的计算机上运行本地副本的 SVN 环境,您有何建议?
我已经使用 Beanstalk 设置了一个帐户,以便从暂存到生产进行一键部署,并在开发人员进行提交时自动 ftp 上传更改的文件到暂存服务器上。
我的问题是,当我直接修改远程临时服务器上的文件时,我可以做什么来提交更改?
谢谢
I'm in this kind of situation: i'm working with a remote developer on a cakephp website.
He works on a local copy (php etc..) and updates a staging server. I usually do directly the edits (mainly css and text changes) on the remote staging server because I can't run a local copy of the website. What do you suggest for a SVN environment without running a local copy on my machine?
I had setup an account with Beanstalk to do 1-click deploy from staging to production and automatic ftp upload of changed files on staging server when the developer does the commit.
My question is, what could I do to commit my changes as I'm modifying directly the files on remote staging server?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
远程开发服务器可能会显示工作副本。
当您在那里工作时,只要您想提交新版本,就可以编写 svn ci 命令。
您还可以编写一个 cronjob 来刷新服务器工作副本,以更新合作伙伴的更改。
The remote development server could be showing a working-copy.
As you work there, you can write the svn ci command whenever you want to commit a new version.
You also could programme a cronjob to refresh the server working-copy to update to your partner's changes.