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

How do you onboard developers to a very large repo without a 30-minute clone?

IntermediateProductionMonorepos, large files and repository performance
Answer

Provide a partial clone plus cone-mode sparse checkout script for each team, preload caches in a devcontainer or a prebuilt volume, and run background git maintenance. New developers clone only their service and shared libs.

git clone --filter=blob:none --sparse [email protected]:org/mono.git
git -C mono sparse-checkout set services/billing libs/auth
All Git & GitHub questions Roadmap: Git & GitHub

More on Monorepos, large files and repository performance