Interview Prep/Git & GitHub/Remotes, Collaboration and Pull Requests

A teammate sent a 3,000-line PR and nobody can review it properly.

IntermediateScenarioRemotes, Collaboration and Pull Requests
Answer

Situation read → Review quality drops sharply above a few hundred lines.

What I'd do →

  1. Ask the author to split it along natural seams: refactor, schema, feature, tests.
  2. Land mechanical changes (renames, moves, formatting) first as separate PRs.
  3. Use feature flags to merge incomplete work safely behind a switch.
  4. Set up a PR size label or a soft limit in CI to nudge future PRs.

Why → Small PRs get faster, deeper review and are easier to revert.

Interview tip → Offer to pair with the author on the split, which keeps the tone constructive.

All Git & GitHub questions Roadmap: Git & GitHub

More on Remotes, Collaboration and Pull Requests