$ hexo d
[info] Start deploying: github
[info] Clearing .deploy folder...
[info] Copying files from public folder...
warning: CRLF will be replaced by LF in js/instagram.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in js/main.js.
The file will have its original line endings in your working directory.
On branch master
nothing to commit, working directory clean
fatal: unable to access 'https://github.com/lovexy-W/lovexy-W.github.io.git/': S
SL read: error:00000000:lib(0):func(0):reason(0), errno 10054
[info] Deploy done: github
刚才把ssh重新设置了一下,还是这样。求大神指点一下,谢谢了。
google了一些解决方案,可能是因为github被墙的问题。尝试了一些办法
1.重新更新了git的ssh
2.重新安装node.js
重新安装hexonpm install -g hexo
3.修改_config.yml的deploy
bash
deploy: type: github repository: git@github.com:lovexy-W/lovexy-W.github.io.git branch: master
将repository的http改为git协议。
原地址:http://wwhaha.info/2015/01/13/hexo-d-%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3/