Hexo 常用命令说明


Hexo 常用命令

新建一个 Markdown 文档

hexo new "markdown_name"

新建一个页面

hexo new page "page_name"

新建一个草稿

hexo new draft "draft_name"

发布草稿

hexo publish "draft_name"

清除缓存文件 (db.json) 和已生成的静态文件 (public)

hexo clean

生成静态文件

hexo g

本地运行静态文件

hexo s

部署到远端

hexo d

备份到远端

hexo b

查看命令帮助

hexo help

Windows 常用组合命令

hexo g && hexo s
hexo clean && hexo g && hexo s
hexo clean && hexo g && hexo d
hexo clean && hexo g && hexo d && hexo b
官方使用说明https://hexo.io/zh-cn/docs/commands

文章作者: 血魂S
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 血魂S !