1. how to post a blog

  1. locate local blog github repo
1
$ cd /e/blog
  1. create a new post
1
$ hexo new "[name]"
  1. Generate static files
1
$ hexo generate
  1. Deploy to remote sites
1
$ hexo deploy

2. Other useful hexo command

view your blog on local server

1
$ hexo server

clean cache

1
$ hexo clean