git clone nacos老是失败

今天clone nacos 老是失败,git命令如下:

git clone -b https://github.com/alibaba/nacos.git

解决方案:使用浅层clone

git clone --depth=1 -b 0.2.1 https://github.com/alibaba/nacos.git 
原文地址:https://www.cnblogs.com/zhenhunfan2/p/14435763.html