27 Apr '13, 1pm

I’m all about the orphans. Here’s why:

I’m all about the orphans. Here’s why:

April 27, 2013 calebjthompson git gh-pages github orphans It’s for the orphans! Too often, I come across GitHub Pages branches (gh-pages ) branches that are simply forks from the master branch of the repository. This is not ideal. There are several problems with this strategy: Unless you manually update the gh-pages branch every time you add a commit to master, you will be out of date. It makes for a much more difficult to understand source folder for the jekyll or HTML site, since people have to mentally categorize every file and folder into either “part of the site” or “an artifact from the master branch”. It introduces the need to have lines like this in _config.yml to prevent unrelated files from being included in the gh-pages site: exclude: ./app, ./lib, ./project.gemspec, ./Gemfile, ./LICENSE, ./Rakefile, ./readme.md, ./features, ./spec git checkout --orphan gh-pages...

Full article: http://robots.thoughtbot.com/post/49004256633/its-for-the...

Tweets