如何擁有自己的 GitHub 網站
步驟
- 建立容器
- 取得GitHub帳號
- 建立repository,命名規則 username.github.io
- 複製容器
git clone https://github.com/username/username.github.io
- 世界您好
cd username.github.io echo "Hello World" > index.html
- 上傳
git add --all git commit -m "Initial commit" git push
記得輸入帳號密碼
參考
- [GiHub Pages][1] [1]:https://pages.github.com/