网上解决方案很多,不过我都试了,不管用,由于我开了代理, 设置一下代理+端口就解决了 我的解决方案: git config --global --add remote.origin.proxy "127.0.0.1:7890" image.png