News for hackers. Stuff that matters.
Re:Instantly create beautiful GitHub project pages by ajross on Monday April 02, 2012 @04:56PM (#3790043)
You can create a local git containing only the gh-pages branch:

    mkdir my-project-pages
    cd my-project-pages
    git init
    git remote add origin [email protected]:myusername/myproject.git
    git pull origin gh-pages
Now just treat them as distinct "repos" and push independently. The basic idea here is that you're breaking up "clone" (which by default pulls everything) into its composite steps.

There are no comments on this comment yet.