Octopus and mess

I am new to Octopress and relatively new to git / github.

I cloned ( installed / configured ) the Octopress repository locally:

git clone git://github.com/imathis/octopress.git sitename cd sitename bundle install rake install 

Cool - I now have an Octopress source and a skeleton site on my local drive.

Question 1 - Update

According to the docs, I can update to the latest Octopress changes with:

 git pull octopress master # Get the latest Octopress bundle install # Keep gems updated rake update_source # update the template source rake update_style # update the template style 

but this leads to an error:

 [sitename]$ git pull octopress master fatal: 'octopress' does not appear to be a git repository fatal: Could not read from remote repository. 

Why is this failing?

Question 2 - Where does "my" material live?

Now I need to create my own github repositioning for the assets I create, right? If so, am I storing everything there or just things specific to my blog (posts, pages, etc.)? I assume that I need to create reprogramming in github and push my changes there ... but again, I'm not sure if this is correct. Any suggestions would be highly appreciated.

+8
git octopress
source share
3 answers

In response to question 2:

Octopress repositories have two branches, a source and a master. The source branch contains the files that are used to create the blog, and the wizard contains the blog itself (your posts, etc.).

When local folders are initially configured according to the Octopress Configuration Guide , the main branch is stored in a subfolder named '_deploy. Since the folder name begins with an underscore, it is ignored with git push origin source . Instead, the main branch (which contains your blog posts) is updated when you rake deploy .

You may find this blog post .

+8
source share

In your repo you should have a remote domain named octopress :

 [sitename]$ git pull octopress master 

Try adding a remote file called octopress and point it to https://github.com/imathis/octopress.git :

 git remote add octopress github.com/imathis/octopress.git 
+4
source share

Octopress documentation is a bit weaker. It describes how to use the octagon axis when using github pages as a deployment: http://octopress.org/docs/deploying/github/

This information should (I think) be added in front, as most people will most likely want to keep their blog in their own remote repo named origin .

+2
source share

All Articles