本文介绍了尝试更改我的github页面的源代码时无法选择master branch/docs文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢您抽出宝贵时间来帮助我:)

thanks for taking your time to help me :)

我正在尝试发布我的HTML网站,但是它不允许我使用master branch/docs文件夹.现在我在这样的链接中使用用户名:https://djcinoj.github.io/token_sale/.我知道它说如果您想使用docs文件夹就不能使用您的用户名,但是我从2018年5月21日开始在底部链接了一个视频,他可以.在过去的两个月中,我一直在关注这套教程,并且与他做的完全相同.为什么我不能使用我的用户名,而他可以?

I am trying to publish my HTML website however it does not allow me to use the master branch/ docs folder. Now I'm using my username in my link like this: https://djcinoj.github.io/token_sale/. I know it says that you cant use your username if you want to use the docs folder however a video that I have linked at the bottom from May 21, 2018, he can. I have been following this set of tutorial for the last 2 months and been doing exactly the same as him. Why can't I use my username and he can?

我希望能够使用我存储库中的docs文件夹,但是该文件夹显示为灰色,并且在尝试更改源时无法单击它.也许检查我的存储库,我还在底部添加了一个链接.可能是没有办法.但是我要实现的目标是扩大网站的规模,也许还有另一种方法可以使视频不显示.通过启动网站,我的意思是我可以将链接发送给任何人,并且该人可以使用它.

I expect to be able to use the docs folder which I have in my repository however its grayed out and I can't click it when I try to change my source. Maybe check my repository I have also added a link at the bottom. It could be that there is no way to do it. But what I'm trying to achieve is to lanuch the website maybe there is another way you can do it that the video does not show. By launching the website I mean that I can send the link to anyone and that person can use it.

非常感谢您的帮助

视频: https://www .youtube.com/watch?v = Y-vsaoyuoww& index = 16& list = PLS5SEs8ZftgWFuKg2wbm_0GLV0Tiy1R-n

存储库: https://github.com/DJCinoJ/token_sale

我的文件夹在Atom中的外观图片

推荐答案

https://help.github.com/articles/configuring-a-publishing-源于github-pages/#publishing-your-github-pages-site-from-a-docs-folder-on-your-master-branch

(由我强调-博士).

您的根目录中没有/docs,您在/token_sale/子目录中.

You don't have /docs in the root, you have it in /token_sale/ subdirectory.

这篇关于尝试更改我的github页面的源代码时无法选择master branch/docs文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 04:12