What version I am using now:
$ hugo version
Hugo Static Site Generator v0.26 darwin/amd64 BuildDate: 2017-08-30T07:07:03-07:00
Test everything localy
hugo server --buildDrafts
Push to my hugo branch
I use a local branch hugo
for all my development.
git push origin hugo
Add subtree
git subtree add --prefix=public git@github.com:username/username.github.io.git master --squash
Pull subtree
git subtree pull --prefix=public git@github.com:username/username.github.io.git master
Generate site
hugo -t creative-theme
Add everything
git add -A
Commit and push
git commit -m "Site Deploy for master `date "+%Y-%m-%d-%H%M%S"`" && git push origin hugo
Push subtree
git subtree push --prefix=public git@github.com:username/username.github.io.git master
Other stuff
Which template will be rendered: https://gohugo.io/templates/content/