Eclipse undo changes to project to particular time

2020-07-09 06:06发布

Is it possible to undo changes to a project till a particular time? Like say, restore project to how it was at 1:00pm?

标签: java eclipse
2条回答
forever°为你锁心
2楼-- · 2020-07-09 06:48

In the editor in your eclipse, do this, Right Click -> Replace With -> Local History...

From the list of entries in Revision Time, select the revision you want, compare the changes, and if they look okay, replace it.

Done!

查看更多
手持菜刀,她持情操
3楼-- · 2020-07-09 06:48

Right-click the project folder, choose "Restore from Local History..." Check the files that you would like to get reverted back. This won't undo the fetch per se, but it'll get your files back.

查看更多
登录 后发表回答