TIL-How to Host My Site Using Github

https://eonyang.github.io/simpleFace/

To be continue.

Key word:

git remote add origin xxxxx

git init, git add, git commit

git push -u origin master

set up ssh key for github

Problems:

firstly i got 404, you have to choose a theme, why? but if you do, it works.

firstly i cannot push my code to github, then I fond that the reason is I initialized my repo on github before I push, which I shouldn’t.

 

Leave a Reply

Your email address will not be published. Required fields are marked *