How to Revert Changes

Hello, i’m new when it comes to coding which is why i’ve been using this app and i’ve found some success in it. Recently though Cursor or claude has been making changes and i don’t know how to revert back to an older version since when i ask it it doesn’t quite remember the older versions. Is there a button or something to revert it or do i have to do it manually. Any help would be appreciated, thanks.

Hey, when you send a new request, Cursor automatically creates a checkpoint. When you click on it, your entire code should revert to the previous state.

I only see that option in the composer and I’ve been working on it in chat.

Yes, this option is only available in Composer, it’s not available in chat.

So is there no way to get it back? And should I work on projects in composer now if I want to avoid this?

Hey, you can use the Agent if you need to make multi-file changes in your project. If you need to control each file, then your choice is Chat. As for reverting changes, you can use Git.

I did some research and i guess my file was never initialized with git so i can’t revert it that way, and talking with chat to try to revert changes they’ve now actually deleted almost everything, is there nothing i can do but start over?