我在 GitHub 上看到了一个未开放编辑的wiki页面。然后,我分出了这个项目,并在我的结局上进行了编辑,并试图做出拉取请求。事实证明, wiki 不在项目中,并且没有办法提交更改。
除电子邮件,如果我想在这种情况下建议对wiki进行更改,是否有办法继续?
在这一点上,我发现了什么看起来像一个替代方案下与类似的问题标题,但我无法用它做拉请求,所以我不确定子模块是达到这个目的的好方法。我现在看到我可能以某种方式分支它......所以这是要走的路吗?
GitHub 不支持维基库的拉取请求,只有主存储库(这有点耻辱,国际海事组织,但我可以理解它)。
以下是一个有趣的方式,一个项目管理社区更新到他们的wiki,同时仍然严格控制,至于源代码: p>
我建议的工作流程是这样的:
- 在您的github账户上创建一个新的存储库。我们称之为Taffy-Wiki。
- 将Taffy wiki repo克隆到本地计算机: git clone git@github:atuttle / Taffy.wiki .git
- 删除原始的originremote并将你的github repo添加为新的origin git remote rm origin 和 git remote add origin git@github:< YOUR_USERNAME> /Taffy-Wiki.git
(From 你如何贡献Taffy文档 。)
如果是我,我会创建一个问题在主存储库(也就是你分叉的那个)中,建议对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.
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 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:
- Create a new repository on your github account. Let's call it "Taffy-Wiki".
- Clone the Taffy wiki repo to your local machine somewhere: git clone git@github:atuttle/Taffy.wiki.git
- Remove the original "origin" remote and add your github repo as new "origin" git remote rm origin and git remote add origin git@github:<YOUR_USERNAME>/Taffy-Wiki.git
(From How you can contribute to Taffy documentation.)
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页面?
发布评论