git clone遇到的[ssh: connect to host github.com port 22]

转载自https://www.cnblogs.com/simonbaker/p/7191260.html
在广州图书馆,git pull时候发现提示git clone

[ssh: connect to host github.com port 22]

查了很多内容,找到了原因,大概是这里的网络是代理网络

在这里插入图片描述

这个说的就是把协议从ssh方式换成https。
所以,git clone的时候,换个协议就好了!

git clone https://github.com/***/***.git

即可:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43743956/article/details/85029194
今日推荐