How to submit PR for issues that need to be repeated

There are issues that needed to be repeated more than once.

So for example take an issue “Document undocumented REST resources”. If there are several undocumented resources, then submitting single PR becomes difficult and also makes the reviewing process difficult.

In that case should we .?

  • submit single PR but with multiple commits

  • submit multiple PRs like:

  • RESTWS-11 Documents ResourceA
  • RESTWS-11 Documents ResourceB

You can commit to the same branch as many times as possible, github will update the PR automatically to reflect all the changes from all the commits. If you think a PR is going to be too large, this is why we break up some tickets into logical sub tasks and create a separate PR for each sub ticket and only close the parent ticket when all the sub tickets are done.

1 Like