Adding commits to Others' PR

This kind of operation is useful when the initiator is off-line or the changes are straightforward so no need to wait until initiator gets involved.

For direct PR or MR without fork, the steps are:

  1. checkout target branch of the PR
  2. perform changes on this branch
  3. git add --all
  4. git commit --amend
  5. git push -f

For fork scenario, see Adding Commits to Someone Else’s Pull Request.

0%