启用clash后使用git命令出现Failed to connect to github.com port 443: Connection refused

感谢大佬,记录以下,原地址:https://blog.csdn.net/Hodors/article/details/103226958 栀子z大佬的评论

重新设置代理,将代理端口号,设置上去。 clash默认代理端口号 7890 设置如下:

git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
原文地址:https://www.cnblogs.com/fightKun/p/15656442.html