用Hexo 快速创建Github Pages
Contents
具体步骤
在自己的github创建仓库, 比如你的github叫hook, 那么必须创建名为 hook.github.io的仓库.
然后安装Hexo.
我选用Jacman主题.
如果想在自己的博客中添加分类和标签, 需要按照如下Markdown格式撰写博客.
1234title: zookeeper 扩容实战categories: 分布式tags: zookeeper
Hexo 常用命令
Create a new post
|
|
More info: Writing
Run server
|
|
More info: Server
Generate static files
|
|
More info: Generating
Deploy to remote sites
|
|
More info: Deployment
查看help
|
|
清理缓存
|
|
问题
出现
multiple stage entries for merged file
执行如下命令123$ rm -rf hexo/.deploy_git/.git/index$ hexo generate$ hexo deploy
(转载本站文章请注明作者和出处 Panda)