Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Stop Pushing AI Generated Code to Git (tombert.com)
5 points by tombert 3 months ago | hide | past | favorite | 2 comments


> You wouldn’t commit a binary.

If a binary was as expensive to generate as some AI projects, I suspect that we would. We do not commit a binary because a binary is cheap to produce locally.

Maybe we get to the point where a conversation can reasonably be used to reproduce software, but that is way too costly at the moment.


Even if that were the case, then it shouldn’t be in Git. It’s a build artifact.

You of course don’t have to do CI to generate on every push. You could just emit it manually and push the code to S3 or something.

I feel like the semantics of Git and GitHub are about demonstrating changes from human effort, and by pushing millions of AI generated code is breaking that.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: