Start with one question about the suggestions
Your pull request has several suggested changes waiting.
Each one looks reasonable.
You are about to click Commit suggestion, but you are not sure whether to apply them one by one or gather them into a single commit.
The choice affects how your commit history reads and who is credited.
GitHub documents both paths, and the right one depends on whether the suggestions fix separate problems or together make one coherent change.
Before you click anything, read the suggestions together and ask: do these fix separate, independently describable problems, or do they together make one coherent change?
If two suggestions touch the same paragraph, function, or sentence and only make sense together, they are one change.
Batching them keeps that change in one commit.
If one suggestion fixes a typo and another adjusts a different section, they are independent.
Committing them separately keeps each fix easy to find and explain later.
This is editorial advice, not a GitHub rule.
GitHub lets you apply either way; the question is which history you want to read later.
What GitHub documents about applying suggestions
GitHub's guide on incorporating feedback in your pull request describes both options directly.
You can apply a suggested change on its own, or batch multiple suggestions into a single commit.
The documented consequence is the same either way: applying one suggested change or a batch creates a single commit on the compare branch of the pull request.
Attribution is also documented.
Each person who suggested a change included in the commit becomes a co-author.
The person who applies the suggested changes is a co-author and the committer.
That means batching several suggestions credits every suggester in one commit.
Applying them separately credits each suggester in their own commit.
Neither path is described as better.
The guide simply presents both as ways to incorporate feedback.


