You should commit often so you can always roll back to a previous state if the code becomes unfixable, and cursor/windsurf also provide built-in chat-history checkpoints that let you restore the code to a previous chat point.

normativepending

Speaker

Unknown Speaker

Evidence Quote

“you can roll back to previous chats so if I just click this one... I can just say restore checkpoint and it will roll the code back for me”

Source

Vibe Coding Tutorial and Best Practices (Cursor / Windsurf)— Matthew Berman
Created: 6/18/2026, 2:17:59 PM

Your notes

Loading notes...