通用解决方案 检查 .gitconfig,是否有无效的Http.proxy, https.proxy。 Linux以及MacOS用户:检查http_proxy、https_proxy、all_proxy Windows用户额外检查系统环境变量:http_proxy、https_proxy、all_proxy 检查 git remote -v 是否添加了https的origin项目地址。 git remote add origin https://github.com/slankka/xxxx.git
一下子就解决了我的问题,搜了一圈csdn上的答案,没有一个有用的,fuck csdn提上日程!
转载自: 解决 git pull不能拉取 HTTP协议的 Git项目
注意:本文归作者所有,未经作者允许,不得转载