Skip to content

Instantly share code, notes, and snippets.

@nderkach
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nderkach/a4cb948c8b8f0e1cc020 to your computer and use it in GitHub Desktop.
Save nderkach/a4cb948c8b8f0e1cc020 to your computer and use it in GitHub Desktop.
How to setup and configure an existing Octopress blog with github pages

Say, you have an existing octopress blog published on github pages, here is how to configure it:

git clone https://github.com/username/username.github.io.git
cd username.github.io.git
git checkout source
mkdir _deploy
cd _deploy
git init
git remote add -t master -f origin https://github.com/username/username.github.io.git
rake gen_deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment