小编Ahl*_*ini的帖子

致命:无法连接到 github.com: github.com[0: 140.82.121.4]: errno=未知错误

我的 Git 帐户有问题。每次执行时git push,我都会收到以下错误:

Git推送错误

我发现我正在使用 SSH URL:

SSH 网址

我尝试使用以下命令切换回 HTTPS URL:

git config --global url.https://github.com/.insteadOf git://github.com/
git config --global url."https://".insteadOf git://
Run Code Online (Sandbox Code Playgroud)

然而,它似乎并没有改变任何事情: 例子

我尝试了许多我认为是解决方案的选项,例如手动配置配置文件,但没有任何效果。

git git-push git-remote

18
推荐指数
2
解决办法
3万
查看次数

标签 统计

git ×1

git-push ×1

git-remote ×1