As a fellow designer, I thought this would be helpful for those looking to host their projects on Github Pages using a custom domain name. Some of the other resources were a little unclear. Feedback is always appreciated!
Great post Henry! Have you ever got some success with subdomains on Github pages?
I looked into it a while back, but Github's documentation was really unclear, and so were the StackOverflow responses...
Google does not understand that subdomains (articles.henrybayuzick.com ) relate to second-level domain (henrybayuzick.com) and penalizes.
If you want rankings, you want all content you produce on your second-level domain.
It’s not as easy as simply adding a CNAME if you want to use Github pages only for henrybayuzick.com/articles though.
Oh crap, my Tumblr blog is on a subdomain. Not that I have enough traffic for it to make a difference, but still... looks like it causes a substantial hit.
In your "Remember to keep everything up to date" section, you should really pull the changes on master down to the master branch you keep locally, and then merge those changes into gh-pages. Otherwise, you update gh-pages with remote changes, but your local master branch remains behind where it should be. Something like
git checkout master git pull origin master git checkout gh-pages git merge master <resolve merge conflicts if necessary> git push origin gh-pages
Other than that, looks pretty snazzy.
Good workflow, though I prefer to run 'git merge --no-ff feature/branch' so that the tree is more indicative of what I'm doing.
Here's a good explanation and visual of the difference: http://stackoverflow.com/questions/9069061/what-is-the-difference-between-git-merge-and-git-merge-no-ff
Thanks, Henry! I struggled through this a few months ago, this looks to be a very useful guide! Wish I had seen this earlier!