git如何clone大仓库,避免超时

1. 

git clone --depth=1

2.

git pull --unshallow

如果还是失败,则逐步加大深度,执行:

git pull  --depth=

 

参考

https://segmentfault.com/q/1010000000409170

你可能感兴趣的:(git)