This undo function discards all changes made since the file was last saved. Because Hugo automatically saves all changes prior to closing, it is important to utilize this option if you do not want changes saved.