github構建個人網站
個人學習記錄
1.github帳號
github.com注冊/登錄
2.github項目
點擊 + 號 -> New repository ->該填的填了 點擊Create repository創建成功
ms1.jpg
打開剛創建的項目新建
index.html
進行測試
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>hello world</title>
</head>
<body>
<h1>Hello World !</h1>
</body>
</html>
輸入網址項目名+.github.io 測試(如:zooms.github.io
)
個人網站創建到此結束,下方是使用git或者svn更新到本地進行編輯和提交
3.同步到本地
打開倉庫點擊右上角綠色的Clone or download按鈕
復制網址
用svn或者git更新后可進行編輯
4.上傳修改
編輯修改后用svn或者git進行提交
注:提交過程中可能需要輸入github的帳號和密碼
詳情見<a > github個人網站</a>