【Github】克隆库时报错无法连接github(HTTP_PROXY代理)
你可以使用Git GUI Here工具 用 git://xxxx/xxxx的链接导出,检查当前github所使用的端口号。1、将https://github.com/... 改为 git://github.com/...2、改全局配置 :设置github.com.proxy端口号保持与你的端口号一致。3、改全局配置 :完全清除端口号。修改完毕后检查,查看全局配置。...
·
知识点:针对HTTP_PROXY、HTTPS_PROXY GitHub 代理地址设置和清除
1、将https://github.com/... 改为 git://github.com/...
2、改全局配置 :设置github.com.proxy端口号保持与你的端口号一致
git config --global http.https://github.com.proxy https://127.0.0.1:XXXX
git config --global https.https://github.com.proxy https://127.0.0.1:XXXX
3、改全局配置 :完全清除端口号
git config --global --unset http.proxy
git config --global --unset https.proxy
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy
修改完毕后检查,查看全局配置
git config --global -l
你可以使用Git GUI Here工具 用 git://xxxx/xxxx的链接导出,检查当前github所使用的端口号。

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)