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.
我有一个文件,我使用命令 (BZR CHECKOUT ...) 结帐。现在,我做了很多提交,发现我的代码中有错误。第一次结帐后,我想将所有文件恢复为原始形式。任何人都可以帮助我一步一步的过程/命令。谢谢!
您可以通过以下方式恢复待处理(= 未提交)的更改:
bzr revert
或者,如果您想返回过去修订的状态,比如修订 17,您可以执行以下操作:
bzr update -r 17