If you want to publish the site at http://USERNAME.github.com
, you need to create a repository (from your GitHub account)
called USERNAME.github.com
, in my case mcaliman.github.com
GITHUB_ACCOUNT=USERNAME
cd ${GITHUB_ACCOUNT}.github.com
git init
git add .
git commit -m "Initial commit"
git remote add origin git@github.com:${GITHUB_ACCOUNT}/${GITHUB_ACCOUNT}.github.com.git
git push origin master