gerrit review 设置

$ git config remote.review.pushurl "ssh://someone@ip:29418/the_project"

$ git config remote.review.push "HEAD:refs/for/master"

在某个HEAD下push到gerrit

$ git push review

或者在.git/config中[remote "origin"]下添加:

    push = refs/heads/master:refs/for/master

  或者

    push = HEAD:refs/for/master

  

上一篇:Jenkins+GitHub+Xcode+fir搭了一个持续集成环境


下一篇:(29)网络编程之TCP通信协议