从gerrit中拉取代码

单个仓库的拉取(clone\fetch\pull)

 

git clone "ssh://Gerrit 上的用户名@192.168.1.240:29419/具体项目路径" &&
scp -p -P 29419 Gerrit 上的用户名@192.168.1.240:hooks/commit-msg "项目名/.git/hooks/"

repo仓库的拉取


 

posted @ 2022-05-05 11:26  rox丶小花生  阅读(888)  评论(0)    收藏  举报