title: How can I only have a gh-pages branch?
body: <p>I'm doing some basic demos with javascript pages - using github not only as source control but also as a hosting provider.</p>
  
  <p>I'd like to work only on the gh-pages branch, or have it automatically reflect my changes on master, whatever is easier and cleaner.</p>
  
  <p>I tried to delete the master branch but it won't let me:</p>
  
  <pre><code>$ git push origin --delete master
  remote: error: refusing to delete the current branch: refs/heads/master
  To git@github.com:opensas/geo-demo.git
  ! [remote rejected] master (deletion of the current branch prohibited)
  </code></pre>
  
  <p>I just want to have a single branch (master or gh-pages) and whatever I commit and push to it to appear in the github pages.</p>
  
  <p>What is the best way to accomplish this?</p>