gitHub 遇到的错误 connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository.

错误描述

connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository.

请确保您具有正确的访问权限,并且存储库存在

解释:您的git URL可能已更改。使用以下命令在本地目录中更改URL

解决办法: git remote set-url origin git@yourGitUrlHere

git@yourGitUrlHere 这是你的git地址

原文,需要科学上学

原文地址:https://www.cnblogs.com/shiazhen/p/12357110.html