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.
就我而言,我不小心从我的代码库中删除了一个文件,即,我执行了 ctrl+delete 并清除了垃圾。如何恢复文件。在 SVN 中,您只需对代码库进行更新,它将替换已删除的代码库。可能在 mercurial 中吗?
你应该使用hg revert MISSING_FILE
hg revert MISSING_FILE