How to setup git-review
Andre Guedes <andre.guedes@...>
I was having some trouble to submit a change to Gerrit which depends on
someone else's change. If I use the 'git push' command as described in ,
I get the following error:
remote: ERROR: In commit <commit id>
remote: ERROR: author email address <someone(a)mail.com>
remote: ERROR: does not match your user account.
remote: ERROR: The following addresses are currently registered:
remote: ERROR: <your email>
remote: ERROR: To register an email address, please visit:
remote: ERROR: https://gerrit.zephyrproject.org/r/#/settings/contact
Talking to Andrew Grimberg from Linux Foundation, he recommended using
git-review and it worked around the issue.
Here are the instructions I followed to setup git-review:
$ cat > .gitreview
$ git-review -s
To submit your patch(es) to review:
$ git-review -T
I hope this can save you time in case you run into a similar problem ;)
BTW, Andrew submitted a patch adding the .gitreview file so we don't have
to keep it locally.