Hacker News new | ask | show | jobs
by fluidcruft 297 days ago
You could also create a branch, save your intermediates there, and then squash merge when you are ready.
2 comments

Yup, that's what I do. Even for personal projects, with the flurry of changes Claude/other AI assistants make, a branch makes it easier for me to compare changes.

Often I have a branch with multiple commits on it, with each commit corresponding to a message in a conversation with AI on Cursor trying to get a new feature built.

In the end, I can diff the branch against the main branch, and see the sum total of changes the AI agent has made.

Maybe edit/improve manually on my own afterwards. And then, merge.

Exactly. This is precisely what I do.