如何 git 克隆 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

How to git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

    git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

但是出现如下错误:

    Cloning into 'linux'...
    error: Couldn't resolve host 'git.kernel.org' while accessing https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/info/refs
    fatal: HTTP request failed

我应该配置什么 git?

我能够毫无错误地执行相同的 git 命令。似乎是由连接或 DNS 问题引起的。查看是否可以使用 Google DNS 8.8.8.8 或 8.8.4.4