git时遇到fatal: unable to access ‘https://github.com/jdbsid/WPFLearning.git/’: Failed to connect to github.com port 443 after 21072 ms: Couldn’t connect to server
git bash输入:
git config --global --unset http.proxy
git config --global --unset https.proxy
# 注意修改成自己的IP和端口号
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
本文讲述了在使用Git访问GitHub时遇到连接失败的问题,解决方法是通过设置全局http和https代理,具体步骤包括重置原有代理设置并指定新的本地IP和端口号。
7万+

被折叠的 条评论
为什么被折叠?



