hexo deploy失败

错误提示

1
2
3
4
5
6
7
fatal: unable to access 'http://github.com/1056438464/1056438464.github.io.git/': Recv failure: Connection was reset
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Spawn failed
at ChildProcess.<anonymous> (D:\hexo\node_modules\hexo-util\lib\spawn.js:52:19)
at ChildProcess.emit (events.js:189:13)
at ChildProcess.cp.emit (D:\hexo\node_modules\cross-spawn\lib\enoent.js:40:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)

解决方法

1
把_config.yml文件中repository:https://github.com/1056438464/andybroker.github.io.git这个地址改为git@github.com:1056438464/1056438464.github.io.git