在克隆github的项目的时候发生失败,究其原因是因为代理端口不一致,直接全局设置 一下代理端口就好.

1.首先找到电脑上的代理端口 

2.然后在电脑桌面右键点击git bash here
3.运行下面两条命令
git config --global http.proxy http://127.0.0.1:找到的端口号
git config --global https.proxy http://127.0.0.1:找到的端口号

完美 解决

Logo

一站式 AI 云服务平台

更多推荐