79313418

Date: 2024-12-28 08:05:27
Score: 1
Natty:
Report link

It comes down to what the content of the generated files is. Are they ephemeral files that are only relevant to your current environment? If someone else on another machine pulls your repo, would they need the generated files to execute the code? Can the same generated files be recreated easily by executing a script or re running the application?

Version control is for tracking the history of changes in your source code. In general generated files should not be checked into VCS because there is no benefit to doing so and they can easily be regenerated.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ali Raza