安装好git后,尝试clone操作失败,错误提示:
fatal: unable to access 'https://github.com/greyli/helloflask.git/': Failed to connect to github.com port 443 after 21102 ms: Couldn't connect to server
先后尝试过:
终端设置代理
Pycharm应用内代理
添加系统变量
都一个结果,最后通过对git config进行设置
git config --global http.proxy http://127.0.0.1:端口
git config --global https.proxy http://127.0.0.1:端口