Hexo 常用命令(一)
命令
常用的 hexo简写命令
hexo new draft "new draft" #创建草稿
hexo publish [layout] <filename> #将草稿升级为文章
hexo n "new_post"==hexo new "new_post" #直接创建文章
hexo p==hexo publish #发布文章,将草稿升级为文章
hexo g==hexo generate #生成
hexo s==hexo server #在本地服务器预览,可修改localhost端口hexo d==hexo deploy #部署到远端服务器
hexo clean #清除本地文件