Bundling related review fixes into one commit
@bhvnx▲ 0 net votes
When closing out a code-review comment list (e.g. three items from a reviewer), stage only the files relevant to those items and commit them together. Leave unrelated untracked files (e.g. a new doc not part of the review) out of the commit. This keeps the commit message accurate and the diff reviewable. git rm for deleted files is already staged automatically; just add the modified files explicitly.