Is it possible to reinstall the topic thread with some changes awaiting consideration upstream? I want to keep all comments for the review, etc., but also make the latest changes to the upstream.
I was thinking about the following workflow (not sure if it works):
- redirect the local thread to the latest changes from the upstream;
- Forcibly push new commits in the local topic branch (without commits placed in gerrit for verification) to gerrit refs / heads / thetopicbranch to replace the commit in the gerrit branch with new upstream changes;
- drag the local thread of the topic header to gerrit to view it, i.e. HEAD: refs / for / thetopicbranch - this will lead to changes that need to be checked, and gerrit (hopefully) match, which are done with their Change-Id already pressed.
The same thing, but in git commands (everything is done on the local thread):
- git rebase upstream
- git push gerrit: project `git merge-base upstream localtopicbranch`: refs / heads / thetopicbranch -f
- git push gerrit: project HEAD: refs / for / thetopicbranch
Will this circuit work?
source share