how to restore last saved code in eclipse?

前端 未结 2 1282
闹比i
闹比i 2020-12-19 13:37

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.

2条回答
  •  醉酒成梦
    2020-12-19 13:46

    An easy way to do this:

    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

    And it's done... Enjoy.

提交回复
热议问题