Live data from Hacker News

How to lose your work using Undo Copy in Windows

mihai.fm

1–10 of 110 posts

Re: How to lose your work using Undo Copy in Windows

#3
Jetbrains IDEs have a "Local history" feature that is not well known. It watches local files and keeps a backup of previous versions of a file, independently from version control.

This has saved me from a few accidental unrecoverable changes.

git reflog is also your friend.

Re: How to lose your work using Undo Copy in Windows

#4
The folder you copy your file (any file that has some importance to you) to should be a onedrive synced folder. Word/Excel/Powerpoint/... files you edit in a synced folder save automatically without the need for you to ctrl+s.

If you undo copy that file you will find it in your onedrive history.

Re: How to lose your work using Undo Copy in Windows

#7
A similar annoyance is the fact that excel's undo applies to all open excel files. Make a change in a.xls, make a change in b.xls. if you ctrl-z twice with b.xls focused, it'll undo both of the above changes!

This has bitten me more than once. Does anyone actually want this behavior?

Post reply on HN