Created
January 7, 2012 18:14
-
-
Save mungomash/1575536 to your computer and use it in GitHub Desktop.
Octopress cheat sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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