解决github下载慢的问题

1、开始 clone,如果觉得仓库太大,可以在 git clone 中加入参数 --depth=1,只拉取最近的一个 revision

git clone --depth=1 https://github.com/torvalds/linux.git

2、使用第三方网站导入github的仓库,再从第三方仓库下载,例如gitclone,gitee

原文地址:https://www.cnblogs.com/timlong/p/13232208.html