SVN:如何解决“文件已被替换"状态 [英] SVN: how to solve 'file has been replaced' status

查看:75
本文介绍了SVN:如何解决“文件已被替换"状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在修改文件,重命名它们并切换它们(我正在测试替代主页).现在我收到一条状态消息,显示文件已被替换"和一个 R.我不知道该怎么做才能解决这个问题.我正在使用 Coda,它没有解决它.所以我猜是命令行时间.我关心的版本是我的本地版本,我想覆盖远程版本.我是唯一在做这件事的人,所以蛮力方法很好.

I was modifying files renaming them and switching them around (I was testing alternative homepages). Now I get a status message that says 'File has been replaced' and an R. I'm not sure what to do to solve this. I'm using Coda, and it does not solve it. So i guess it's command line time. The version that I care about is my local version, and I want to overwrite the remote version. i'm the only person working on it so a brute force approach is fine.

推荐答案

  1. 复制文件并将其放在临时位置
  2. 运行svn revert"
  3. 现在将其复制回同一位置
  4. 运行svn st"检查状态

这篇关于SVN:如何解决“文件已被替换"状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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