如何在eclipse中恢复上次保存的代码? [英] how to restore last saved code in eclipse?
本文介绍了如何在eclipse中恢复上次保存的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Eclipse中,我不小心将SVN的代码更新为HEAD版本的存储库。我的本地代码是我想要保留的,那么我该怎么回复呢?
Tks。
In Eclipse, I accidentally SVN update my code to HEAD version of the repository. My local code is what I want to keep, so how do I revert to that? Tks.
推荐答案
一个简单的方法:
- 右键单击要还原的文件
- 转到团队
- 选择显示本地历史
- 选择所需的日期
- 复制内容并粘贴到实际文件中
- Right click on the file you would like to restore
- Go to Team
- Select Show Local History
- Choose the desired date
- Copy the content and paste in your actual file
它完成了...享受。
这篇关于如何在eclipse中恢复上次保存的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文