On branch master nothing to commit, working tree clean ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html Error: Spawn failed at ChildProcess.<anonymous> (E:\GitPack\blog\node_modules\hexo-util\lib\spawn.js:51:21) at ChildProcess.emit (node:events:518:28) at cp.emit (E:\GitPack\blog\node_modules\cross-spawn\lib\enoent.js:34:29) at ChildProcess._handle.onexit (node:internal/child_process:294:12)
排错
推送不了先试试能不能连接上GitHub,使用ssh -T git@github.com命令
1 2 3 4
zhang@MrZhang-computer MINGW64 /e/GitPack/blog $ ssh -T git@github.com ssh: connect to host github.com port 22: Connection timed out