The unauthenticated git protocol on port 9418 is no longer supported.的解决方法

The unauthenticated git protocol on port 9418 is no longer supported.的解决方法

在git clone git//…仓库的代码时,报错The unauthenticated git protocol on port 9418 is no longer supported.的解决方法

第一步、找到该项目的git文件夹

在这里插入图片描述

第二步 找到git里面的config文件

在这里插入图片描述

第三步往里面添加

[url “https://”]
insteadOf = ssh://
[url “https://”]
insteadOf = git://

这样就成功了。


版权声明:本文为ZYX10077原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。