git提交代码到gerrit
步骤:
1.ssh-keygen -t rsa -C "ming@135.com"生成的秘钥,存放在gerrit对应的账户中
2.
git config --global user.name "Your Name"
git config --global user.email you@example.com
3.
创建工程project,选择创建的工程project中clone with commit-msghook-----》选择http/ssh其中一种


下载到本地

发现本地有个project,进去创建代码文件dajiang.txt
git add . /git commit -m ""
最后
git push origin master:refs/for/master

效果:

网友评论