gerrit docker

 

 

 

修改项目配置文件

git clone ssh://admin@localhost:29418/All-Projects && scp -p -P 29418 admin@localhost:hooks/commit-msg All-Projects/.git/hooks/

#refs/meta/config 是All-Projects的引用
git fetch origin refs/meta/config:refs/remotes/origin/meta/config
git checkout meta/config
#现在目录下有groups  project.config两个文件
#提交修改
git add .
git commit -m "modify config"
git push origin meta/config:meta/config

--------------------- 本文来自 CPlusPlusLove 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/chenjh213/article/details/50571190?utm_source=copy 

posted @ 2018-10-02 11:30  zxyblog  阅读(884)  评论(1编辑  收藏  举报