I always want to have a review on top of the newest master which means that when I update the gerrit review I have to run two commands:
git rebase origin/master && git review
Is there a way to convince gerrit (review) to do it by itself?
I always want to have a review on top of the newest master which means that when I update the gerrit review I have to run two commands:
git rebase origin/master && git review
Is there a way to convince gerrit (review) to do it by itself?
You don't need to run the "git rebase" because "git review" already automatically performs the rebase before submitting the change to Gerrit. If you want to bypass the rebase execution use the -R (--no-rebase) option. To see more info about this execute "man git-review" and search for "-R".