title: How do I publish to <me>.github.com?
body: <p>I've read the <a href="http://pages.github.com/" rel="noreferrer">guide</a>, which tells you to do the following:</p>
  
  <ol>
  <li>create a .github.com repository</li>
  <li>check it out to <code>path/to/repo</code></li>
  <li>cd /path/to/repo</li>
  <li>git symbolic-ref HEAD refs/heads/gh-pages</li>
  <li>rm .git/index</li>
  <li>git clean -fdx</li>
  <li>echo "My GitHub Page" > index.html</li>
  <li>git add .</li>
  <li>git commit -a -m "First pages commit"</li>
  <li>git push origin gh-pages</li>
  </ol>
  
  <p>I've done that. And the page shows up.  Then I moved to a different computer and checked out the repository again. Now I have a "<code>master</code>" branch in my local, but no "<code>gh-pages</code>."  And following steps 3-6 above leaves me with no files in that branch.  How do I get the files from "<code>master</code>" into the branch that will publish to GitHub?</p>
  
  <p>I tried <code>git checkout master &amp;&amp; git push origin gh-pages</code> but that yields</p>
  
  <pre><code>error: src refspec gh-pages does not match any.
  fatal: The remote end hung up unexpectedly
  error: failed to push to 'git@github.com:&lt;me&gt;/&lt;me&gt;.github.com.git'
  </code></pre>