How often should you create pull requests?

How often should you create pull requests?

Checking for pull requests every hour, as they suggest, is an unnecessary distraction. If something is that urgent, fine, but otherwise, any pull request can wait far more than an hour. The best strategy, I find, is to sink your head into your code for as long as you can, up to about 6 hours. Then take a break.

When should a pull request be opened?

Things to know before opening a PR We typically recommend opening an issue before a pull request if there isn’t already an issue for the problem you’d like to solve.

Can you make multiple pull requests?

7 Answers. Pull requests are based on a branch. The only way to open up a pull request for multiple commits is: Isolate them into their own branch.

How often does a developer open a pull request?

Let’s see an example. In the above scenario, a pull request is taking an average time of 3 days to be merged. It is pretty good. But the Time to Merge is 15 days. It means that developers work an average of 12 days (15 – 3) before opening a pull request. It means a developer opens a pull request once in two weeks.

How long does it take to make a pull request?

This discussion can go on for days (particularly if you’re in different time zones), while you attempt to come to agreement; perhaps you’ll need to make changes to your Pull Request to address the reviewer’s concerns. This all takes time.

Can a pull request be closed without deleting a branch?

A pull request is, effectively, one person requesting that their branch make their way into another branch, so you’re only dealing with branches at a Git level. At a GitHub level, you can close a PR without deleting the branch, which is likely what you want to do here. How you proceed depends on the history you want.

Can you close a pull request on GitHub?

A pull request is, effectively, one person requesting that their branch make their way into another branch, so you’re only dealing with branches at a Git level. At a GitHub level, you can close a PR without deleting the branch, which is likely what you want to do here.