Revert File Revert the current file back to its last saved state. Useful for discarding changes or making sure the file content in VS Code matches the file content on disk.