如何在 GitHub 上拉取 wiki 页面的请求? [英] How to pull request a wiki page on GitHub?

查看:67
本文介绍了如何在 GitHub 上拉取 wiki 页面的请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 GitHub 上看到了一个未开放编辑的 wiki 页面.然后我分叉了这个项目,在我的最后"编辑它并尝试做一个拉取请求.事实证明,wiki 不在项目中,也没有办法提交对它的更改.

I saw a wiki page on GitHub that isn't open for editing. Then I forked the project, edited it on "my end" and tried to do a pull request. It turns out, the wiki isn't in the project, and there isn't a way to commit changes to it.

在这种情况下,如果我想在 wiki 上提出更改建议,除了电子邮件之外,还有其他方法可以进行吗?

Other than e-mailing, is there a way to proceed if I want to suggest a change on the wiki in this case?

此时我发现了什么似乎是具有类似标题的问题"下的替代方案,但我还不能用它来执行拉取请求,所以我不确定子模块是否是实现此目的的好方法.我现在知道我可能会以某种方式分支它......所以这是要走的路吗?

At this point I found out what seems like an alternative under "Questions with similar titles", but I couldn't do the pull request with it yet, and so I'm not sure submodules is a good way for this purpose. I now see I could probably branch it somehow... So is this the way to go?

推荐答案

GitHub 不支持 wiki 存储库的拉取请求,只有主存储库(这有点遗憾,IMO,但我可以理解).

GitHub doesn't support pull requests for the wiki repository, only the main repository (this is a bit of a shame, IMO, but I can understand it).

这是一个有趣的项目管理社区更新的方式,同时仍然严格控制源代码:

Here's an interesting way one project manages community updates to their wiki, while still keeping tight control, as for source code:

我建议的工作流程是这样的:

My proposed workflow is this:

  1. 在您的 Github 帐户上手动创建 Taffy wiki 的分支:
    • 在您的 github 帐户上创建一个新存储库.我们称之为Taffy-Wiki".
    • 将 Taffy wiki 存储库克隆到本地计算机的某个位置:git clone git@github.com:atuttle/Taffy.wiki.git
    • 删除原始的origin"远程并将您的github存储库添加为新的origin" git remote rm origingit remote add origin git@github.com:<YOUR_USERNAME>/Taffy-Wiki.git

(来自如何为 Taffy 文档做出贡献.)

如果是我,我会在主存储库(即您分叉的那个)中创建一个问题,建议对 wiki 进行更新.如果问题未启用,则电子邮件是我能想到的唯一其他选项.

If it were me, I'd create an issue in the main repository (that is, the one you forked) suggesting an update to the wiki. If issues aren't enabled, then email's about the only other option I can think of.

这篇关于如何在 GitHub 上拉取 wiki 页面的请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆