Almost Done

After a day of searching and following the steps from the guides, I have almost set up my personal blog using Hugo and Github Page.

I benefited hugely from this guide from Leehow.

I got lost a few times, but I managed to get back on track by referring to this guide by 小绵尾巴 which is for Mac users.

I met a few problems with git push and pull, in order to solve which I consulted the answers: fatal: unable to access ’ ‘: Failed to connect to github.com port 443 after 21058 ms: Couldn’t connect to server

I also read GitHub Docs in vain: Dealing with non-fast-forward errors

One way to solve the issue is to use the –allow-unrelated-histories git flag.

Here the git command will look something like this: git pull origin master –allow-unrelated-histories.

You can substitute origin with the remote repository you are pulling from.

This was a life-saver, but soon I needed help from How do I resolve merge conflicts in a Git repository? and acquired the knowledge about mergetool and checkout.

I also read of Jimmy Cai’s official explanation of how he/she recommends to install his/her hugo theme: Stack, but unfortunately it was too late.

I still have a few things on my list which I did not manage to fix, and actually those could be just one problem: I do not have the pictures and css on my site as on samplesite of this theme.

Wish me luck.

Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
Let's move!
Built with Hugo
Theme Stack designed by Jimmy