说明:

我在git bash和vscode内置的终端里面,想要git clone github的代码

总是会出现Failed to connect to github.com port 443 after 21041 ms: Couldn’t connect to server等错误

解决办法:

git config --global http.proxy http://127.0.0.1:xxxx
git config --global https.proxy http://127.0.0.1:xxxx

书写日期:23.09.11