簡體   English   中英

gh頁無法發布問題

[英]gh-pages not publishing what's wrong

我對GitHub完全陌生,加入的目的是使用GitHub-pages功能。我最近創建了一個站點,並希望使用gt-pages發布它。 讓我知道您實際上已經采取了哪些措施。 👇

       1.I create new repo name myportfolio.github.io 
       2.and then I initialize it with a readme and change the master 
          branch to gh-pages.
       3.and make the gt-pages branch.
       4.and the default branch is gh-pages instead of master. and I update 
         it.
       5.then I go back to code.
       6. I upload all the files of my site.
       7.then I commit changes
       8.it processes my files.

最后,它顯示了這一點

我究竟做錯了什么?

首先,它是gh分支,而不是gt分支。

其次,確保轉到正確的URL: https://github.com/username/reponame : https://github.com/username/reponame
有關說明,請參見本教程

對於項目頁面

項目頁面網站在建立后可在以下位置使用:

個人帳戶的Project Pages站點可從http(s)://<username>.github.io/<projectname>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM