git 合并github上的不同问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9417146/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Merge different issues on github
提问by antonjs
Sometimes the developers open new issues regarding the same subject.
有时,开发人员会针对同一主题提出新问题。
It will be great to have the possibility to merge the issues.
有可能合并这些问题会很棒。
If it is possible in github, how can I do it?
如果可以在 github 中实现,我该怎么做?
If not, what is the best way to link different issues?
如果没有,将不同问题联系起来的最佳方式是什么?
采纳答案by Justin ??????
Currently, the simplest way to resolve this situation is to pick one of the issues to be the main one (whether the best documented, oldest, or whatever). Then, add a comment to the other issues linking to the main issue and close the duplicates.
目前,解决这种情况的最简单方法是选择其中一个问题作为主要问题(无论是记录最好的、最古老的还是其他)。然后,为链接到主要问题的其他问题添加评论并关闭重复项。
Here's another showing the "Duplicate of #123" syntax.
Alternatively, you can leave the issues open and reference them all together in your commit messages: Example.
或者,您可以让问题保持打开状态,并在提交消息中将它们一起引用:示例。
I imagine that in the future, the team behind GitHub will make this process easier.
我想在未来,GitHub 背后的团队会让这个过程变得更容易。