git 自动添加reviewer

在.git/config file中

每個remote,添加

receivepack=git receive-pack --reviewer xxx_xx@xx.com  --reviewer ..... 重复

也可以添加pushurl,但是只能每个remote 添加

是否可以有方法为每个branch 添加一个pushurl, 这样push到gerrit , 就不用敲那么长一段 branch name 直接git push就可以

当前前提最好设置 push= current ,只push 当前分支

posted @ 2014-04-03 10:09  xjadss  阅读(1556)  评论(0编辑  收藏  举报