Hexo博客搭建 安装hexo cnpm install hexo -g Hexo初始化项目 hexo init 安装github的管理工具 配置仓库路径 deploy: type: git repo: https://gitee.com/eastside/blog.git branch: master 每次上传新的博客内容,先要清理本地的缓存文件 hexo clean 执行生成上传命令 hexo g -d 上传需要安装 cnpm install hexo-deployer-git --save 编写新的md文件代表新的博客 hexo new 文件名