Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
170 views
in Technique[技术] by (71.8m points)

git - Merge different issues on github

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?

If not, what is the best way to link different issues?

question from:https://stackoverflow.com/questions/9417146/merge-different-issues-on-github

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 an example.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...