You can reverse any edits you have made to a file since you opened it.
To reverse the last edit, do one of the following:
Keep clicking Undo to reverse more edits, until the file is in the same state as when you opened it.
Related topic:
Previous
Next