Undo a change

Go back on Preview, on Live's code, or on Live's database.

On Preview

Every change in a Workspace is saved separately, so you can always ask your agent:

Undo that last change.

Go back to how the home page looked this morning.

A Publish you don't like

Make a new change that puts it back, and Publish that:

The last publish broke the menu. Put the menu back how it was and let me check it on Preview.

A database change that went wrong

If hm migrate worked but the result is wrong, put Live back to the Restore Point it saved:

hm restore RESTORE_POINT

This puts back the databases and the code that was Live then. Anything saved after the Restore Point is removed, such as orders or sign-ups. Export what you need first with hm sqlite export DB --live.

Only the most recent Restore Point can be restored.