-- 错误0
加 sudo
-- 错误1
不能下载,或端口错误
设置 git 代理为全局代理, 看之前的文章
git config --global http.proxy
git config --global https.proxy
Git报错: Failed to connect to github.com port 443 解决方案-CSDN博客
-- 错误2
remote: Enumerating objects: 354980, done.
remote: Counting objects: 100% (52906/52906), done.
remote: Compressing objects: 100% (963/963), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
-- git 下载特定分支
master branch of this repo is to be used with ESP-IDF v5.1, while the release/v2.x
branch is to work with ESP-IDF v4.4
不能下载加 sudo