本文介绍了我可以禁用gh-pages托管我的分叉回购吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经分叉了一个具有 gh-pages 的回购,因为它是默认分支。他们将其托管在自定义域中,因此有一个自定义 CNAME 文件。



来自Github的电子邮件与以下内容:

我不需要自己托管网站,分叉是只是为了让贡献回来。我只是想找一种方法来禁用我的fork的gh-pages托管,所以我不再收到这些错误/电子邮件。 div>

我会建议将你的fork中的branch重命名为gh-pages以外的东西,这样可以防止它触发构建,但仍然会允许你将请求提交到上游父级的gh页面。

I've forked a repo that has gh-pages set as it's default branch. They're hosting it on a custom domain, so there is a custom CNAME file.

I'm getting emails from Github with the following:

I don't need to host the site myself, the fork is just for making contribs back. I'm just looking for a way to disable gh-pages hosting for my fork, so I don't get these errors/emails anymore.

解决方案

I would suggest renaming the "branch" in your fork to something other than gh-pages, that should prevent it from triggering builds, but will still allow you to pull request to the gh-pages on the upstream parent.

这篇关于我可以禁用gh-pages托管我的分叉回购吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 12:46