Deleted files after accidentally clicked UNDO ALL

so after a prompt, the agent changes some code on my project, and then after that, as always, we have to accept some changes made ever since. i accidentally click “undo all” instead of “ keep all” now all of the files that she changed has been made has been deleted. how can i fix this? i tried find entry to restore, my files wasn’t there. any other way?

If you undo changes using the dialog box, they are permanently lost.
If you undo them via chat, a “redo” button appears.

I recommend, when really necessary, manually reverting changes using the undo button in chat – then the dialog box will be a stronger trigger, since you’ll no longer be using it.

1 Like