Interview Prep/Git & GitHub/Remotes, Collaboration and Pull Requests

A reviewer asks for changes. How do you update the PR cleanly?

BeginnerScenarioRemotes, Collaboration and Pull Requests
Answer

Situation read → The PR updates automatically when you push to its branch.

What I'd do →

  1. Make the changes locally and commit them.
  2. git push (no force needed for plain commits).
  3. Reply to each comment and resolve threads you have addressed.
  4. Re-request review using the "Re-request" icon.

Why → New commits show up in the PR timeline, so reviewers can see what changed since their review.

Interview tip → Avoid force-pushing mid-review unless the team agreed, since it can hide incremental changes.

All Git & GitHub questions Roadmap: Git & GitHub

More on Remotes, Collaboration and Pull Requests