/ mb's blog / blog

Setting Up This Blog

March 16, 2013

As a first step i forked the plusjade/jekyll-bootstrap project into MyUserName/jekyll-bootstrap. This gives me the following options

Now it is time to create the empty user repository on github, see github help. And clone the content of my jekyll bootstrap fork into

git clone git@github.com git@github.com:MyUserName/jekyll-bootstrap.git MyUserName.github.com
cd MyUserName.github.com

Then change the github origin to the user repo.

git remote set-url origin git@github.com git@github.com:MyUserName/MyUserName.github.com.git

And add my jekyll bootstrap fork as an upstream url

git remote add upstream git://github.com/MyUserName/jekyll-bootstrap.git

When i run into the situation that i want to update my blog with the latest jekyll update, i do the following on my jekyll-bootstrap fork

git checkout master
git pull
git checkout MyUserName.github.com
git merge master

Now sync these changes into my blog

git checkout master
git fetch upstream
git merge upstream/master

Thats it.