git submodule的操作

时间:2015-06-26 10:49:01   收藏:0   阅读:188

对于有submodule的库,检出的方法是:

git clone https://github.com/BelledonneCommunications/linphone-android.git --recursive

如果由于被墙而不能下载,或者网络问题中途断掉了,可以使用

git submodule update --recursive

接着传送没传的submodule.

 

如果有submodule被墙了,则可以先再codingnet上导入一个公开项目,这样下载codingnet上的项目;或者直接再github上搜索对应的项目名,下载下来就可以了.

原文:http://www.cnblogs.com/welhzh/p/4601575.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!