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.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
Last
1 | $ hexo clean && hexo g && hexo d |
补充:
解决:ERROR Deployer not found: git
这个错误的意思是:Hexo 找不到 git 部署插件,99% 是因为插件没装上 / 装错目录 / 命令漏了。
在你的Hexo 博客根目录下执行这 2 条命令:一步到位修复(直接复制运行)
1 | # 1. 重新安装 git 部署插件(必须在博客根目录运行) |