...
Install
git-review
:Code Block $ pip install git-review
To submit a change to
master
as a draft:Code Block $ git review -D
To submit a change to
master
:Code Block $ git review
Note that this will automatically publish the change to the
asterisk-dev
mailing list!To submit a change for a particular branch:
Code Block $ git review {branchname}
To submit a change, including the
ASTERISK
issue:Code Block $ git review -t ASTERISK-12345
Use git push
Note | ||
---|---|---|
| ||
While you can always use |
Pushing to Gerrit for code review can always be done using standard git
commands. This is done by pushing to the refs/for/[branch]
. Generally, this will be master
, unless pushing to a particular mainline Asterisk branch.
...
Description: There is an incompatibility between certain version of git and gerrit that causes this error when the commit to be pushed was amended an and only the commit message changed.
Solution: Run git push manually with the --no-thin option:
...