如何为 Linux 内核克隆 Greg Kroah-Hartman 的 stagingtree 存储库?
How to clone Greg Kroah-Hartman's stagingtree repository for the Linux kernel?
我正在使用 git 尝试使用以下命令克隆 Greg Kroah-Hartman 的暂存树存储库。
$ git clone -b staging-next git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
但是,我不断收到此错误:
Cloning into 'staging'...
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 198.145.20.140]: errno=Connection refused
git.kernel.org[1: 199.204.44.194]: errno=Connection refused
git.kernel.org[2: 149.20.4.72]: errno=Connection refused
git.kernel.org[3: 2620:3:c000:a:0:1991:8:25]: errno=Network is unreachable
git.kernel.org[4: 2001:4f8:1:10:0:1991:8:25]: errno=Network is unreachable
正确的git
命令行是什么?
git clone -b staging-next git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
不要使用这个
git clone -b staging-next https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
并禁用防火墙,或者您可以继续关注 link
https://www.kernel.org/doc/man-pages/linux-next.html
并按照说明进行操作
我正在使用 git 尝试使用以下命令克隆 Greg Kroah-Hartman 的暂存树存储库。
$ git clone -b staging-next git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
但是,我不断收到此错误:
Cloning into 'staging'...
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 198.145.20.140]: errno=Connection refused
git.kernel.org[1: 199.204.44.194]: errno=Connection refused
git.kernel.org[2: 149.20.4.72]: errno=Connection refused
git.kernel.org[3: 2620:3:c000:a:0:1991:8:25]: errno=Network is unreachable
git.kernel.org[4: 2001:4f8:1:10:0:1991:8:25]: errno=Network is unreachable
正确的git
命令行是什么?
git clone -b staging-next git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
不要使用这个
git clone -b staging-next https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
并禁用防火墙,或者您可以继续关注 link
https://www.kernel.org/doc/man-pages/linux-next.html 并按照说明进行操作