简体   繁体   English

gh页无法发布问题

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

I am totally new to GitHub and my purpose of joining is to use the GitHub-pages feature.i recently create a site and want to publish it using gt-pages. 我对GitHub完全陌生,加入的目的是使用GitHub-pages功能。我最近创建了一个站点,并希望使用gt-pages发布它。 and let me know you what steps actually I have taken to do this. 让我知道您实际上已经采取了哪些措施。 👇 👇

       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.

and in the end, it shows this 最后,它显示了这一点

what am I doing wrong? 我究竟做错了什么?

First, it is gh-branch, not gt-branch. 首先,它是gh分支,而不是gt分支。

Second, make sure to go to the right URL: https://github.com/username/reponame . 其次,确保转到正确的URL: https://github.com/username/reponame : https://github.com/username/reponame
See this tutorial for illustration . 有关说明,请参见本教程

For a project page : 对于项目页面

Project Pages sites are available in the following locations after they're built: 项目页面网站在建立后可在以下位置使用:

A Project Pages site for a personal account is available at http(s)://<username>.github.io/<projectname> . 个人帐户的Project Pages站点可从http(s)://<username>.github.io/<projectname>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM