gpt4 book ai didi

github-pages - Github Pages 未检测到 repo 名称是我的用户名

转载 作者:行者123 更新时间:2023-12-02 03:01:48 25 4
gpt4 key购买 nike

我正在尝试建立一个带有 Github 页面的站点。

我的 Github 用户名混合了大小写。

我尝试命名存储库的每一种方式都会导致它发布在“username.github.io/username”而不是“username.github.io”。

Repo name matching profile name URL with subdomain

用全部小写重命名 repo 具有相同的结果。有人有想法吗?

最佳答案

答案很简单:需要包含域。

将您的存储库命名为 jrhutson.github.io 而不是 JRHutson

这会将您的存储库链接到 URL https://jrhutson.github.io 而不是 https://jrhutson.github.io/JRHutson

参见 https://pages.github.com/ (步骤1)供引用。

关于github-pages - Github Pages 未检测到 repo 名称是我的用户名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59813129/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com