Skip to content

Instantly share code, notes, and snippets.

@lisovskyvlad
Created February 3, 2014 22:31
Show Gist options
  • Save lisovskyvlad/8793820 to your computer and use it in GitHub Desktop.
Save lisovskyvlad/8793820 to your computer and use it in GitHub Desktop.

Blogging with octopress:

  • new post: bundle exec rake new_post["title"]
  • write stuff
  • bundle exec rake preview
  • git add .
  • git commit -m 'add awesome post'
  • git push origin source
  • bundle exec rake generate
  • bundle exec rake deploy

Most important this is pushing to remote repo. You should not use git push. You only need push source branch. Link - http://octopress.org/docs/deploying/github/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment