众所周知,因为一些原因,git clone GitHub上的kernel非常慢。除非挂梯子。
可以用一下的办法,先从镜像源中clone kernel,然后再
通过 git remode add name url 命令把原来我们要下载的仓库作为远程仓库添加到本地仓库。在执行
通过 git fetch name 命令抓取远程仓库。
git clone https://mirrors.tuna.tsinghua.edu.cn/git/linux.git


git remote add upkernel https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
kernel的地址:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux.git
git fetch upkernel