title: Creating GitHub Pages Repo
body: <p>username.github.com/repo-name</p>
  
  <p><strong>Instructions for setting up username.github.com/repo-name *</strong></p>
  
  <pre><code>cd /path/to/repo-name
  git symbolic-ref HEAD refs/heads/gh-pages
  rm .git/index
  git clean -fdx
  echo "My GitHub Page" &gt; index.html
  git add .
  git commit -a -m "First pages commit"
  git push origin gh-pages
  </code></pre>
  
  <p>I did this : <strong>cd /path/to/repo-name</strong><br/>
  After I did <strong>git clean -fdx</strong>, all my files got deleted. I had to download them from github.</p>
  
  <p>Was this (<strong>cd /path/to/repo-name</strong>) meant to be on a new directory ?</p>