repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -b 3.8.0
报了: Failed to connect to github.com port 443: Connection timed out
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+. repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+. fatal: unable to access 'https://github.com/OP-TEE/manifest.git/': Failed to connect to github.com port 443: Connection timed out manifests: fatal: unable to access 'https://github.com/OP-TEE/manifest.git/': Failed to connect to github.com port 443: Connection timed out解决办法,取消git代理:
git config --global --unset http.proxy git config --global --unset httpx.proxy如果以上还解决不了,请打开vim /etc/hosts 去查看,将带有github的行删除