Hacker News new | ask | show | jobs
by remysharp 4846 days ago
I used to try to do that with my projects, but I found keeping the gh-pages branch in sync with my master just enough of a pain that it quickly got neglected. I'm not saying you shouldn't, and personally, I'd rather there be a hosted example of the repo - I just made 5minfork for those ones that (I often found) didn't have the live example.
1 comments

I never bother with an orphan branch, just create a gh-pages branch from master and fast-forward it when you want to "deploy".