码迷,mamicode.com
首页 > 其他好文 > 详细

配置gerrit

时间:2017-12-07 21:16:32      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:.com   变量   scp   /etc/   apt-get   错误   ipo   direct   test   

scp root@10.92.244.14:/etc/apt/sources.list /etc/apt/ 密码root
sudo apt-get install git-review
git config globaluser.email shen.junjie2@zte.com.cn
git config globaluser.name shenjunjie10067807
git config globalgitreview.user 10067807
git config globalgitreview.email shen.junjie2@zte.com.cn
git remote add gerrit ssh://10067807@gerrit.zte.com.cn:29418/QA/ACTEST.git
git remote add gerrit ssh://10067807@gerrit.zte.com.cn:29418/TECS_Director/Uniportal.git
(you can fetch name gitconfig -l)

如果你输入错了 可以用 git config --unset remote.gerrit.url 把错误的变量清理掉


git config --global --replace-all user.name shenjunjie10067807
git config --global --replace-all user.email shen.junjie2@zte.com.cn
git config --global -l

git config color.ui true

这个也要替换掉

配置gerrit

标签:.com   变量   scp   /etc/   apt-get   错误   ipo   direct   test   

原文地址:http://www.cnblogs.com/sjj1022/p/8000399.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!