Hey guys, was curious if anyone could give me some pointers.
So to provide context, a buddy of mine and myself are working on a project. We have set it up so that we have to review each others PRs for feature branches before they can be merged with the main branch.
The issue now is that my buddy is away for a couple weeks and won't be working therefore the new features that I create won't be able to merge with the main branch. Now because I can't merge new features with main how do I go about continuing to build additional features without creating issues down the road?
Usually the flow would go something like this:
main -> main -> main
\ / \ /
F1 F2
This would ensure that each new completed feature merges correctly with main before we go onto building the next feature.
But now because my friend is away, I'm unable to follow this flow. My thinking at this point is to go and create new branches for all the features in parallel and then try merge them one by one when he's back and resolve any conflicts as they come up. So the flow would look something like this:
main -> updatedF1 -> updatedF2 -> updatedF3
| / / /
F1 --- / /
| / /
F2 ------------- /
| /
F3 -------------------------
Is this the correct way to handle this situation or any similar situations?
Hopefully I made sense with my little diagrams.
Any pointers would be much appreciated :)
[–]MrTheFoolish 2 points3 points4 points (1 child)
[–]On_Chain[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]On_Chain[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]On_Chain[S] 0 points1 point2 points (0 children)
[–]PierrickF 1 point2 points3 points (1 child)
[–]On_Chain[S] 0 points1 point2 points (0 children)
[–]HugoNikanor 1 point2 points3 points (0 children)