Gerrit参考文档:
http://gerrit-documentation.googlecode.com/svn/Documentation/2.4.2/index.html
权限控制:
http://openwares.net/linux/gerrit_privilege_setup.html
gerrit不允许使用:
git push origin master
将本地的tracking branch直接push到远程仓库的master branch:
git push origin HEAD:refs/for/master
通过gerrit也可以pull其他人提交的,还没有进入review的结果:
git fetch ssh://xxx@review.yyy.com:29418/projectName refs/changes/79/3179/3 && git checkout FETCH_HEAD
git checkout -b <a_new_branch_point_to_unreviewd_commit>