如何在eclipse中恢复上次保存的代码? [英] how to restore last saved code in eclipse?

查看:192
本文介绍了如何在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.

推荐答案

一个简单的方法:


  1. 右键单击要还原的文件

  2. 转到团队

  3. 选择显示本地历史

  4. 选择所需的日期

  5. 复制内容并粘贴到实际文件中

  1. Right click on the file you would like to restore
  2. Go to Team
  3. Select Show Local History
  4. Choose the desired date
  5. Copy the content and paste in your actual file

它完成了...享受。

这篇关于如何在eclipse中恢复上次保存的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆