Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge different issues on github

Tags:

git

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?

like image 821
antonjs Avatar asked Feb 23 '12 16:02

antonjs


People also ask

How do I merge issues in GitHub?

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.

What happens if you get a conflict during a merge?

A merge conflict is an event that occurs when Git is unable to automatically resolve differences in code between two commits. When all the changes in the code occur on different lines or in different files, Git will successfully merge commits without your help.


1 Answers

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.

like image 95
Justin ᚅᚔᚈᚄᚒᚔ Avatar answered Oct 01 '22 12:10

Justin ᚅᚔᚈᚄᚒᚔ