Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could also create a branch, save your intermediates there, and then squash merge when you are ready.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: