gerrit git 用户用root也能git clone

658阅读 0评论2011-12-09 走西口123
分类:

1. # git config --global user.name name01 user.email mail review.URL.username name01
2. 把root的public key 加入到name01的gerrit页面里。


3. add config file to /root/.ssh
host hostname.com review.hostname.com
port 29418
user name01

test:
#git clone ssh://name01@hostname/manifest.git
可以工作。




上一篇:没有了
下一篇:syslog-ng配置