如何选择要在 github 存储库页面 URL 上打开的默认文件?
How to choose default file to open on github repository page URL?
好吧,我是 GitHub 的新手,对此感到困惑,我创建了一个存储库并创建了一个页面 https://anilkatwal.github.io/hello-world/. Now it have two files on master branch , README.md and index.html . While opening default page (https://anilkatwal.github.io/hello-world/) 它打开了 index.html 文件但是我该如何更改它显示它可以打开另一个文件让我们说README.md(默认URL)?
根据我过去的经验,我能够删除 index.html
文件并为 单页创建一个index.md
文件 个网站 GitHub 个页面。您可以将 README.md
文件保留在您的存储库中,但它不会保留网站的 着陆页 。
基本上,
一页网站可以用一个 index.md
.
来实现
好吧,我是 GitHub 的新手,对此感到困惑,我创建了一个存储库并创建了一个页面 https://anilkatwal.github.io/hello-world/. Now it have two files on master branch , README.md and index.html . While opening default page (https://anilkatwal.github.io/hello-world/) 它打开了 index.html 文件但是我该如何更改它显示它可以打开另一个文件让我们说README.md(默认URL)?
根据我过去的经验,我能够删除 index.html
文件并为 单页创建一个index.md
文件 个网站 GitHub 个页面。您可以将 README.md
文件保留在您的存储库中,但它不会保留网站的 着陆页 。
基本上,
一页网站可以用一个 index.md
.