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

How do you keep a long-lived fork (vendor patch set) maintainable?

AdvancedProductionMonorepos, large files and repository performance
Answer

<details> <summary><b>Answer</b></summary>

Keep patches as a small, rebased branch on top of upstream tags, with each patch isolated and documented, rerere enabled, and a scheduled job that attempts the rebase on each upstream release and opens an issue on conflict. Push upstream whatever you can to shrink the diff.

All Git & GitHub questions Roadmap: Git & GitHub

More on Monorepos, large files and repository performance