Interview Prep/Git & GitHub/Monorepos, large files and repository performance

Why shouldn't build output and dependencies be committed?

BeginnerProductionMonorepos, large files and repository performance
Answer

They bloat the repo, produce noisy diffs and merge conflicts, and can differ between machines. Commit lockfiles and build from source, publish artifacts to a registry.

All Git & GitHub questions Roadmap: Git & GitHub

More on Monorepos, large files and repository performance