You start working on a new change, submit for review, get a change request, make the necessary changes, and then submit for review.
- update master
- create new branch
- make a change
- submit the change
- (the reviewers say you have to update something)
- make the necessary changes
- amend = make the change and submit for review again
cd <project> git pull master git checkout -b MyTestBranch touch foo.txt git add foo.txt git commit foo.txt -m "Add foo file" git review # the reviewers tell you that you have to rename the file to bar # and you do the changes mv foo.txt bar.txt git commit --amend git review
watch the video: https://www.youtube.com/watch?v=yL7C2X5ftDQ