I used to work with git and gitHub.
Mostly doing branches and then submit push request from branches.
And used gitHub review.
But, thing is a little bit different here:
We use rebase and cherry-pick a lot.
And we are using a review server, so when you push code you are actually push to a ref:
git push origin HEAD:refs/for/master
And if you got comments and need to update.
You start with a clean master on local.
then: "git fetch..." to fetch the cherry pick from ref first
then: make your changes
then: "git commit --amend" to append change to previous commit
then: "git push origin HEAD:refs/for/master"
And the review server will identify the change and update the review instead of create a new one.
Now the question is: how can I keep working on new code, before the review is done.
One way I can think of is: I will discard all changes on local and checkout from master, and work on clean master.
But, what if I need to used some code in the review I just send, do I have to wait for the review to complete or the following changes need to be in the same review?
Is there a third way to have a new review but, include all change in previous reviews.