Restore Deleted Files in Eclipse IDE

前端 未结 8 548
独厮守ぢ
独厮守ぢ 2021-01-31 02:44

Two days ago, I deleted five Java files in Eclipse IDE and now I need them. I tried to restore them from the local history. I restored only two of them. When I right click on

8条回答
  •  清歌不尽
    2021-01-31 03:05

    You can use the information in this Java Tips page.

    I deleted my src folder, and used the following steps to get it back:

    --> Select Project

    --> Right Click

    --> Select Restore from local history in the context menu

    --> Select your files,

    --> Click OK.

    --> Then go to your git and do "git checkout filename"

    --> This should fully restore the file and its content

    I hope this helps

提交回复
热议问题