报错信息: unable to access ‘https://github.com/xiaoxin179/boot-vue-admin.git/’: Failed to connect to github.com port 443 after 21165 ms: Timed out
问题场景:
在使用Git提交代码到GitHub的时候,出现这个错误
原因分析:
网络原因导致无法连接到GitHub
解决方法
使用魔法,修改GitHub中的代理端口
修改git的网络设置,修改成自己的网络号和ip端口号
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
之后再次提交就成功了