该存储库一开始是使用 SSH 克隆的。直到今天我推送到 Github 时都没有遇到任何问题。我一整天都在尝试解决这个错误,但我仍然无法解决这个错误..如果有人能阐明这一点,那就太好了!谢谢 :)
\n2dsnakegame git:(main) git push origin main\nssh: Could not resolve hostname github.com: Temporary failure in name resolution\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n\xe2\x9e\x9c 2dsnakegame git:(main) git remote\norigin\n\xe2\x9e\x9c 2dsnakegame git:(main) git remote --v\norigin git@github.com:xxxx/2dsnakegame.git (fetch)\norigin git@github.com:xxxx/2dsnakegame.git (push)\nRun Code Online (Sandbox Code Playgroud)\n