After searching for the light and searching for several similar questions, none of them seemed to really answer my question (below the list of related questions that I found).
I am developing further changes on top of a commit that have not yet been reviewed, but I want to save the changes separately. When I try to click a new patch for verification, I get an error message:
! [remote rejected] HEAD -> refs/for/master (no changes made)
Scenario:
In my branch I have Commit A (merged) <- Commit B (cherry / not loaded) <- Commit C (with recent changes that I want to push).
As already mentioned, Commit C depends on B (but since I want them to be separated, squash cannot be done. Also, deleting B is not an option, as it adds changes that are not yet present, it is C).
So, when I try to press Commit C to view, I get the error message above (I understand that this is due to the fact that Commit B is under the new Commit C).
My question is: is there a way to send only Commit C to Gerrit before Commit B is merged? Or do I really have to wait until B is merged so that I can send Commit C up?
Homework:
Gerrit Workflow - Push a single commit to a thread thread
Git / gerrit, push remote rejected unchanged
Is there a way to force Gerrit to have all the commit in the branch to click on code view?
Git -