how to make multiple pr for multiple issues that are presented in an similar project in an org #100
-
i have made an pull request to an organization and i want to make again an pull request for the other issue so someone said that i can able to make another pull request by creating an new branch in my forked repo but i have a doubt that, during my creation of second pr my previous pull request is not merged , and after sometime what if both pull request were accepted by the orgs like is it okay doesn't the project have merge conflicts are something like that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@Harish-2003 If both pull requests modify the same files or lines of code, there might be merge conflicts when one of them gets merged before the other. In such cases, the project maintainers will usually resolve the conflicts during the review process. You can help minimize conflicts by keeping your pull requests focused on specific changes and regularly updating your branches with changes from the main repository. If you encounter any merge conflicts or have concerns about how to proceed with multiple pull requests, you can always communicate with the project maintainers to coordinate and resolve any issues. |
Beta Was this translation helpful? Give feedback.
-
Creating multiple pull requests for multiple issues in a project is a common scenario, especially in larger projects or during events like GSSOC. Here's a step-by-step guide on how to handle it:
Regarding your concern about potential conflicts if both pull requests are accepted:
By following these steps and keeping each issue's changes isolated in separate branches, you should be able to manage multiple pull requests effectively without running into conflicts. |
Beta Was this translation helpful? Give feedback.
@Harish-2003
If your first pull request hasn't been merged yet and you want to work on another issue, you can create a new branch in your forked repository, make the necessary changes for the new issue, and then create a new pull request from that branch.
If both pull requests modify the same files or lines of code, there might be merge conflicts when one of them gets merged before the other. In such cases, the project maintainers will usually resolve the conflicts during the review process. You can help minimize conflicts by keeping your pull requests focused on specific changes and regularly updating your branches with changes from the main repository.
If you encounter any merge conflic…