码迷,mamicode.com
首页 > 其他好文 > 详细

octopress command memo

时间:2015-08-19 09:23:47      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:

  1 rake new_post

rake new_post[title]           # Begin a new post in source/_posts

 

2 rake preview

http://samxu.dev to preview

 

3 rake watch

can watch the site and regenerate when it changes

 

4 rake generate and deploy

rake deploy # Default deploy task
rake gen_deploy # Generate website and deploy
rake generate # Generate jekyll site

 

5 github commit

git push origin source

octopress command memo

标签:

原文地址:http://www.cnblogs.com/xuhong/p/4741188.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!