Reverting back to previous code?

Hi all, signed up for pro and been having an amazing time using Cursor. However, I got Cursor (agent via 3.7) to make a small update and it changed the whole app I was building (very frustrating). I was trying to find a revert option and nothing was there to help me. What’s the best way of reverting back to the previous code before the latest message and update from the Agent? Thanks

Just seen the “Restore last checkpoint” (little button next to the Review changes) in the chat… a life saver!

hopefully this can help someone else