Create a Repository: danigong.github.io (replace danigong with your own github username) Change directory to root directory of the site. hugo --theme=hyde --baseUrl="http://danigong.github.io/" $ cd public $ git init $ git remote add origin https://github.com/danigong/danigong.github.io.git $ git add -A $ git commit -m "first commit" $ git push -u origin master