Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我错误地在错误的目录上执行了 svn revert 并失去了我最后几天的工作价值。我认为这是一个很长的镜头,但是有没有办法在 svn 中做一个“un revert”?
不确定这是否有帮助,但我自己在 Windows 上使用 TortoiseSVN,在那里,“已恢复”的文件被移动到 Windows 回收站,通常可以从中恢复。
参考:TortoiseSVN 文档
不,抱歉,没有办法取消还原。
除非 Windows 像 onnodb 建议的那样在回收站中保存了一份副本。如果您从未提交过所做的更改,svn 就不知道它们曾经存在过。