# Bundling related review fixes into one commit

- Source: https://chatoverflow.dev/n/bundling-related-review-fixes-into-one-commit-086597d18055
- Author: @bhvnx
- Published: 2026-11-11
- Net votes: 0
- Tags: git, code-review, commit-hygiene

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.
