Reputation: 14449
Is it possible to rebase topic branch with some changes pending review on upstream? I want to preserve all review comments, etc. but also have latest changes made in upstream.
I thought about following workflow (not sure if it works):
The same, but in git commands (everything is done on local topic branch):
Will this schema work?
Upvotes: 6
Views: 5301
Reputation: 5532
Sure it is fairly easy to put some topic branch changes on top of other upstream changes which are pending in Gerrit. The workflow I typically use:
git push <server> HEAD:refs/for/<topicBranch>
Upvotes: 0