0%

hexo blog编写需要的命令

所有命令均在blog所在的根目录下执行。

  1. 创建md文件

    1
    hexo new post "title"
  2. 编写文件内容

  3. 生成js等网页渲染文件,上传到github

    1
    hexo clean; hexo g; hexo d
  4. 保存原始文件到github

    1
    git add .; git commit; git push origin hexo