Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Previously, we mentioned a special layout in Hexo: draft. Posts initialized with this layout are saved to the source/_drafts folder. You can use the publish command to move drafts to the source/_posts folder. publish works in a similar way to the new command.
1
$ hexo publish [layout] <title>
Drafts are not displayed by default. You can add the --draft option when running Hexo or enable the render_drafts setting in _config.yml to render drafts.
fatal: unable toaccess'https://github.com/yangqing-20/yangqing-20.github.io.git/': OpenSSL SSL_read: Connection was reset, errno 10054
解决:开了加速器。关闭即可。
关闭加速器。hexo clean。(删除/myblog/.deploy_git)hexo g hexo d。hexo d 可能需要多试几遍。
原因:不知。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
$ hexo d INFO Validating config INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... On branch master nothingto commit, working tree clean fatal: unable to access 'https://github.com/yangqing-20/yangqing-20.github.io.git/': Failed to connect to github.com port 443 after 21043 ms: Timed out FATAL { err: Error: Spawn failed at ChildProcess.<anonymous> (D:\personal\blog-github\yangqing-20.github.io\myblog\node_modules\hexo-util\lib\spawn.js:51:21) at ChildProcess.emit (node:events:537:28) at cp.emit (D:\personal\blog-github\yangqing-20.github.io\myblog\node_modules\cross-spawn\lib\enoent.js:34:29) at ChildProcess._handle.onexit (node:internal/child_process:291:12) { code: 128 } } Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html