fatal: unable to connect to gitee.com: gitee.com[0: 180.97.125.228]: errno=Unknown error
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@g
文章共326字 · 阅读需要大约2分钟
一键AI生成摘要,助你高效阅读
问答
·
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
更多推荐
已为社区贡献1条内容
所有评论(0)