-> git config -l
-> git remote add gerrit http://xxx@review.xxx.com/a/xxx/xxx
-> git config -l
->git push gerrit HEAD:refs/for/dev-xxxx
-> git config -l
-> git remote add gerrit http://xxx@review.xxx.com/a/xxx/xxx
-> git config -l
->git push gerrit HEAD:refs/for/dev-xxxx
转载于:https://my.oschina.net/betteru/blog/3054622