With a little help of Google I got a webpage together. Gihub offers their users a webpage with a username
.github.io address and a quite logical process of doing it:
you make a GIT repository with the name of your address with username being your github login. That is in my case
czurnieden.github.io. You can follow the same process as with any other repository. One not: if you do it at the github page (I found it the simplest and I am a command-line junkie 😉 ) and forgot to fill anything in, like the recommended Readme, cloned the empty repo with
git clone and want to upload your page with a simple
git push you get the following (YMMV etc.)
stdlinux$ git remote -v origin https://github.com/czurnieden/czurnieden.github.io.git (fetch) origin https://github.com/czurnieden/czurnieden.github.io.git (push) stdlinux$ git push origin Username for 'https://github.com': czurnieden Password for 'https://firstname.lastname@example.org': [a 128bit long random string] No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'.
It is a good idea to follow such an advice
git push origin master
stdlinux$ git push origin master Username for 'https://github.com': czurnieden Password for 'https://email@example.com': [a 128bit long random string] Counting objects: 9, done. Compressing objects: 100% (9/9), done. Writing objects: 100% (9/9), 14.50 KiB | 0 bytes/s, done. Total 9 (delta 0), reused 0 (delta 0) To https://github.com/czurnieden/czurnieden.github.io.git * [new branch] master -> master
You see: git does it for you.
Once you uploaded all of your staff, point your browser to your adress and…get greeted by a 404. Don’t worry, read the 404. If they have changed the text in the meantime: it says that it may last up to ten minutes until you get your page online. That is for the first time only, it gets online in a couple of seconds the next times. The exact reason is unknown but it is most probably to prevent some of the most obvious cases of fraudulent use.
Ah, there it is, my Github website 🙂