2017-10-05 126 views
1

我的問題是關於如何在我的GitHub帳戶中沒有「啓動自動頁面生成器」時創建git頁面。我試圖添加index.html文件到master分支。如何添加該頁面的主題,並且它不顯示在頁面表單中,而只是顯示代碼設置Github頁面

回答

0

第一步是爲您的github頁面創建新的存儲庫。 核心功能是github頁面的名稱。 爲了讓你的github頁面起作用,你需要像這樣命名它: your_project_name.github.io 你的github頁面的開始文件將是index.html

創建一個新的存儲庫 enter image description here

Upoad index.html到存儲庫。 enter image description here

代碼index.html文件:

<html> 
<head> 
<title>hello github!</title> 
</head> 
<body> 
hello github! 
</body> 
</html> 

結果:

enter image description here

https://github.com/fonjeekay/fonjeekay.github.io

https://fonjeekay.github.io/

操作後,您需要等待一段時間才能將您的github.io頁面添加到github.io服務器。