Massimo Caliman
by Massimo Caliman
~1 min read

Categories

  • github

Tags

  • github pages

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