github - 将页面添加到 Github 页面
问题描述
我有一个网址如mywebsite.github.io
. 我想创建mywebsite.github.io/robots.txt
.
我知道这可以通过设置一个新的存储库并添加 gh-pages 分支来完成,但是我怎样才能从我的主存储库中做到这一点?
解决方案
当你创建你的 Github 页面时,它用它的内容创建了一个新的 repo。
它将被称为 .github.io,其中是...您的用户名。
在那里添加文件。
推荐阅读
- google-cloud-ml - "error": "预测失败:未知错误。"
- javascript - 从导出到 excel 中排除隐藏的列名和相应的 colmodel
- ruby-on-rails-5 - 如何找到问题所在的文件
- python - 在 Pandas 中分配 NaN 不粘?
- laravel - throw new InvalidArgumentException("查看 [admin.product.edit_product] 找到。");
- javascript - 在类组件的方法中获取查询
- php - 使用 JWT 流明请求 GET 类会话时的增量数
- javascript - 每个块的本地存储设置项
我的网站上有这个 contenteditable 表。
<table> <tr class="top"> <th></th> <th>Monday</th> <th>Tuesday</th> <th class
- azure-devops - 从 Azure DevOps 运行时 Postman 测试挂起
- swift - 如何按字母顺序在 UIPickerView 中显示 JSON 数组?