Skip to content

Instantly share code, notes, and snippets.

@mungomash
Created January 7, 2012 18:14
Show Gist options
  • Save mungomash/1575536 to your computer and use it in GitHub Desktop.
Save mungomash/1575536 to your computer and use it in GitHub Desktop.
Octopress cheat sheet
# create a new post
rake new_post["title"]
# re-build the site including any recent changes
rake generate
# run WEBrick server locally on port 4000
rake preview
# push changes to github (master branch)
rake deploy
# commit recent changes and push to github (source branch)
git add .
git commit -m 'description of commit'
git push origin source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment