Back to all tips

Git Pro Tips

Keep Pull Requests Small

🗓️ Published: 4/15/2026 Originally on X: 10/30/2022
Keep Pull Requests Small

When preparing a pull request:

  • Keep the PR small.
  • Treat 500 changed lines as a hard limit.
  • Prefer staying under 200 changed lines.
  • Commit often while working.
  • Squash commits after review.
  • Alternatively, use squash merge.

Discuss this tip on