News for hackers. Stuff that matters.
Re:We Put Half a Million Files in One Git Repository, Here's... by Cthulhu_ on Monday August 28, 2023 @01:27PM (#37297566)
I'm on the fence with this one. My previous project was Go & Typescript with a range of generated files; I committed the generated files, so that they would flag up in code reviews if they were changed, avoiding hidden or magic changes. I also didn't automatically regenerate, avoiding churn.

That said, if the autogenerated output is stable, it's fine. After all, in a sense, compiling your code is also a kind of autogenerating and few people will advocate for keeping compiled code in git.

There are no comments on this comment yet.