When is a pull request too big?

jhall

Jonathan Hall

Posted on November 24, 2021

When is a pull request too big?

Smaller pull requests are faster to write and easier to review. But how do you know when your pull request is getting “too big”?

There’s no hard and fast rule, but here are a few “yellow flags” for your consideration. If you start to see your PR crossing one of these thresholds, ask if you can push what you’ve done, and save the rest for another PR.

  • Does the PR have more than 50-100 lines of changes?
  • Does the PR touch more than 5-10 files?
  • Does the PR contain more than 5-10 commits?
  • Does the PR contain changes written more than 8 hours apart?

If you enjoyed this message, subscribe to The Daily Commit to get future messages to your inbox.

💖 💪 🙅 🚩
jhall
Jonathan Hall

Posted on November 24, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

When is a pull request too big?
pullrequests When is a pull request too big?

November 24, 2021