0
点赞
收藏
分享

微信扫一扫

fatal unable to connect to gitee.com

fatal: unable to connect to gitee.com:

gitee.com[0: 180.97.125.228]:errno=Unknown error

致命:无法连接到gitee.com

无论是pull 还是push 还是clone 都是这个错误 无法连接到码云 ping这个ip是可以ping通的

找到 .gitconfig 文件,把这几个配置删掉,就可以正常连接了

[url "git@github.com"] insteadOf = https://github.com/: [url "git://"] insteadOf = https:// [url "https://"] insteadOf = git://

这篇文章拯救了我 点击跳转

如果不知道 .gitconfig 文件在哪,可以在黑窗口输入下面的命令查看:

git config --list --show-origin

路径一般是在C盘:

C:/Users/Administrator/.gitconfig

fatal unable to connect to gitee.com_git

 

举报

相关推荐

0 条评论