git clone -b source git@github.com:username/username.github.com.git octopress # get the source code from your "source" branch of your octopress on github# learn from: http://stackoverflow.com/questions/1911109/git-clone-a-specific-branchcd octopressgit clone git@github.com:username/username.github.com.git _deploy # get your static pages content from your "master"branch of your cotopress on github
cd octopressrake new_post["Your Title of Your Article"]rake generate # generate your blog static pages content according to your input. rake preview # start a web server on "http://localhost:4000", you can preview your blog content.rake deploy # push your static pages content to your github pages repo ("master" branch)