git 和gerrit学习

Gerrit与Git工作流
本文探讨了Gerrit代码审查服务器的工作流程与原理,介绍了如何通过Jenkins、Gerrit及Git搭建CI系统,并提供了Gerrit代码Review的实战指南。此外,还讨论了Git远程仓库操作技巧及常见问题解决办法。

 

git、repo、gerrit之间的关系

http://blog.youkuaiyun.com/niyaofa/article/details/6652101

 

Gerrit 代码审核服务器的工作流和原理 

http://zoomq.qiniudn.com/ZQScrapBook/ZqFLOSS/data/20110712171147/

jenkins+gerrit+Git 搭建CI系统

http://zengestudy.blog.51cto.com/1702365/1786555

Gerrit代码Review入门实战

https://zhuanlan.zhihu.com/p/21482554

 

Git书籍

https://git-scm.com/book/zh/v2

已有的repo修改为新的

先删后加:

git remote rm origin

git remote add origin [url]

git pull 报错:

There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details
解决方案:

git branch master origin/master

这样在我们每次想push或者pull的时候,只需要 输入git push 或者git pull即可。

在此之前,我们必须要指定想要push或者pull的远程分支。

git push origin master

git pull origin master.

原文链接:http://josh-persistence.iteye.com/blog/2217847

 

转载于:https://my.oschina.net/u/3055388/blog/1538943

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值