”Lock” code that’s working so it’s not getting updated

I’m one of those Cursor users that are not very good at coding.

I’ve noticed that Cursor is changing code that’s working to non working code as I develop more features.

I would like to be able to ”lock” the codebase in a certain state so that Cursor will be extra careful with that and also warn me when it’s changing a working part of the code.

UX wise it can be represented by marking a piece of text or file and click a padlock icon to protect that code snippet or file.

1 Like

Agreed - this would be a very welcome addition!

Learn how to use git. GitHub Desktop is very simple to learn. This is how developers make “save states” to “lock” the code.

You can have the composer agent help you make git changes with the terminal access.