Git · Middle · Question 62 of 75
Why are generated files (build output, minified bundles) usually ignored?
- ✓Correct answer: They can be rebuilt, bloat history and cause noisy conflicts
- 2They are automatically regenerated on every clone
- 3Git refuses to store minified JavaScript files
Explanation
Commit the source and build in CI instead. Exceptions exist, like a dist folder in a GitHub Action that runs without a build step.