[英]Some files have been marked for deletion in SVN status, how do I undo that?
When I do svn status
, I get a bunch of 当我执行
svn status
,我得到了一堆
D mydir/myfile
Does it mean that at some point I must have done svn rm
? 这是否意味着我必须在某时完成
svn rm
? This sounds unlikely, given that I had never had these files locally to begin with, as far as I know. 据我所知,这听起来不太可能,因为我从来没有在本地拥有这些文件。
More importantly, now my svn update
does not update these files. 更重要的是,现在我的
svn update
不会更新这些文件。 How do I get them into my local directory tree? 如何将它们放入本地目录树?
Addin 加入
To reverse a change that has been made in a working copy but not yet committed, use svn revert
. 要撤消已在工作副本中进行但尚未提交的更改,请使用
svn revert
。 In this case, svn revert mydir/myfile
在这种情况下,
svn revert mydir/myfile
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.