我如何在 GitHub 中为他人的代码做出贡献? [英] How do I contribute to other's code in GitHub?
问题描述
我想为 GitHub 中的某个项目做出贡献.我应该分叉吗?分支吗?推荐什么以及如何做?
I would like to contribute to a certain project in GitHub. Should I fork it? Branch it? What is recommended and how to do it?
推荐答案
理想情况下:
如果是新的Feature请求,不要先开始编码.记得发布一个问题来讨论新功能.
if it is a new Feature request, don't start the coding first. Remember to post an issue to discuss the new feature.
如果该功能得到了很好的讨论并且有一些 +1 或项目所有者批准了它,请将问题分配给您自己,然后执行上述步骤.
If the feature is well discuss and there are some +1 or the project owner approved it, assign the issue to yourself, then do the steps above.
有些项目不会使用拉取请求系统.与作者或邮件列表联系,了解将代码重新引入项目的最佳方式.
Some projects won't use the pull request system. Check with the author or mailing list on the best way to get your code back into the project.
这篇关于我如何在 GitHub 中为他人的代码做出贡献?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!