News for hackers. Stuff that matters.
Re:Instantly create beautiful GitHub project pages by dfc on Monday April 02, 2012 @02:05PM (#3789292)
Does anyone know what would happen if inside my main repo I had a submodule that was just a checkout of my ghpages branch?

   ./project  <- Main repo 
   ./project/project-ghpages <- same repo but gh-pages branch
Re:Instantly create beautiful GitHub project pages by barrybe on Monday April 02, 2012 @02:27PM (#3789390)
That's how I do it, it works great that way. I didn't actually set up the gh-pages as a proper submodule, I just cloned the branch to a folder. Then I added the gh-pages folder to the top level .gitignore.
Re:Instantly create beautiful GitHub project pages by dfc on Monday April 02, 2012 @02:43PM (#3789478)
That's probably better than my ill-conceived submodule idea.