gh页未发布问题

时间:2018-07-17 14:54:41

标签: git github publish

我对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.

最后显示this

我在做什么错了?

1 个答案:

答案 0 :(得分:0)

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

第二,确保转到正确的URL:https://github.com/username/reponame
参见此tutorial for illustration

对于project page

  

Project Pages网站在建立之后可在以下位置使用:

     

可在http(s)://<username>.github.io/<projectname>上找到个人帐户的Project Pages网站。

相关问题