Johans notes, links etc RSS

This is just another unimportant web page with links and pictures of things that I like or just don't want to forget. Contact me
My lifestream

Archive

Jan
10th
Sat
permalink

Project Page at GitHub

GitHub has a nice feature that allows you to generate a project page, but since I am a newbie when it comes to git it was not obvious how to check out that branch and edit it.

So here is my quick tutorial.

Clone as usual.

git clone git@github.com:myusername/myrepo.git myrepo-gh-pages

Use checkout to change to the gh-pages branch

git checkout --track -b gh-pages origin/gh-pages

When done editing and commiting you can just do

git push

Then your changes is added to the gh-pages branch.

Comments (View)
blog comments powered by Disqus